update shell scripts

This commit is contained in:
Den Piligrim
2025-12-27 17:27:53 +03:00
parent 94fb12194e
commit fa3e984189
4 changed files with 40 additions and 14 deletions
+6
View File
@@ -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
#################################