add require_debian_like function

This commit is contained in:
MickLesk
2026-08-03 09:46:19 +02:00
parent cb1b4bb705
commit 9b6476b22a
4 changed files with 7 additions and 48 deletions
+2 -8
View File
@@ -26,14 +26,8 @@ ensure_usr_local_bin_persist
get_lxc_ip
IP="$LOCAL_IP"
if command -v pveversion >/dev/null 2>&1; then
msg_error "Can't Install on Proxmox"
exit 1
fi
if [ -e /etc/alpine-release ]; then
msg_error "Can't Install on Alpine"
exit 1
fi
confirm_not_pve_host
require_debian_like
# ==============================================================================
# UNINSTALL