Update Installer.sh

Fixed DistroVersion check
This commit is contained in:
Beeranco 2023-08-13 15:18:27 +02:00 committed by GitHub
parent 6c2c97cfda
commit f0d22668ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ if [[ $dist != debian ]]; then
fi
if [[ $dist != 11 ]]; then
if [[ $dist_ver != 11 ]]; then
if (whiptail --title "Warning" --yesno "This script is tested on Debian 11, use it on your own risk. \nYou're currently running Debian $dist_ver! \n\nContinue anyway?" 10 78); then
echo ""
else