mirror of
https://github.com/MailScanner/v5.git
synced 2024-11-11 01:42:36 +08:00
Merge pull request #77 from shawniverson/debinstallfix
Fix bug in new debian install script
This commit is contained in:
commit
f523c1ccd1
1 changed files with 3 additions and 4 deletions
7
debian/install.sh
vendored
7
debian/install.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue