Merge pull request #77 from shawniverson/debinstallfix

Fix bug in new debian install script
This commit is contained in:
Jerry Benton 2017-08-16 20:13:57 -04:00 committed by GitHub
commit f523c1ccd1

7
debian/install.sh vendored
View file

@ -175,10 +175,7 @@ echo "N - Do not install";
echo;
echo "Recommended: 1 (sendmail)"; echo;
if [ -z "${arg_MTA+x}" ]; then
MTAOPTION=${arg_MTA};
else
read -r -p "Install an MTA? [1] : " response
if [[ $response =~ ^([nN][oO])$ ]]; then
# do not install
MTAOPTION=
@ -196,7 +193,9 @@ else
MTAOPTION="exim4-base";
else
MTAOPTION=
fi
fi
else
MTAOPTION=${arg_MTA};
fi
# clamav