diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 28a3999..2b93dfb 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -6,6 +6,14 @@ if [ "$EUID" -ne 0 ] exit fi +# check debian version +read -d . VERSION < /etc/debian_version + if [ $VERSION -eq 13] + then + echo "Wrong Version" + exit + fi + # autoreply config update dialog with default answer no if [[ ! -f /etc/apt/apt.conf.d/local ]] then