update shell scripts
This commit is contained in:
@@ -17,6 +17,12 @@ need_root() {
|
||||
[[ $EUID -eq 0 ]] || die "Запускать только от root"
|
||||
}
|
||||
|
||||
if ! command -v curl >/dev/null 2>&1; then
|
||||
echo "❌ curl не установлен. Установите curl и повторите попытку"
|
||||
echo " sudo apt install -y curl"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#################################
|
||||
# CONFIG
|
||||
#################################
|
||||
|
||||
Reference in New Issue
Block a user