change install to setup
This commit is contained in:
@@ -4,13 +4,13 @@
|
|||||||
echo "Đang dừng cliproxyapi.service..."
|
echo "Đang dừng cliproxyapi.service..."
|
||||||
systemctl --user stop cliproxyapi.service
|
systemctl --user stop cliproxyapi.service
|
||||||
|
|
||||||
# Kiểm tra file install.sh có tồn tại không
|
# Kiểm tra file setup.sh có tồn tại không
|
||||||
if [ -f "install.sh" ]; then
|
if [ -f "setup.sh" ]; then
|
||||||
echo "Tìm thấy install.sh, đang chạy..."
|
echo "Tìm thấy setup.sh, đang chạy..."
|
||||||
chmod +x install.sh # Đảm bảo quyền thực thi
|
chmod +x setup.sh # Đảm bảo quyền thực thi
|
||||||
./install.sh
|
./setup.sh
|
||||||
else
|
else
|
||||||
echo "Lỗi: Không tìm thấy file install.sh trong thư mục hiện tại"
|
echo "Lỗi: Không tìm thấy file setup.sh trong thư mục hiện tại"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user