mirror of
https://github.com/Snowy-Fluffy/zapret.installer.git
synced 2025-12-06 09:03:04 +03:00
installer bug fix
This commit is contained in:
12
installer.sh
12
installer.sh
@@ -2,12 +2,6 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
REPO_DIR="/tmp/zapret.installer"
|
||||
|
||||
|
||||
@@ -24,7 +18,7 @@ else
|
||||
cd "$REPO_DIR" || exit
|
||||
fi
|
||||
fi
|
||||
cd $REPO_DIR || exit
|
||||
chmod +x zapret-control.sh
|
||||
bash zapret-control.sh
|
||||
|
||||
chmod +x /tmp/zapret.installer/zapret-control.sh
|
||||
bash /tmp/zapret.installer/zapret-control.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user