aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2020-11-18 21:55:50 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2020-11-18 21:55:50 +0100
commite346f8828d0af3a3c567e229ed8f84f18da630a8 (patch)
treecb8b5028b878a8f4668bf921e6a19b74b8a6affc /install.sh
parentd2c3818c1851307cbf34456b031814efebd02f7e (diff)
downloadgpigeon-e346f8828d0af3a3c567e229ed8f84f18da630a8.tar.gz
gpigeon-e346f8828d0af3a3c567e229ed8f84f18da630a8.zip
More error checking in regards to package managers.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 1b7e3bb..e7291cd 100755
--- a/install.sh
+++ b/install.sh
@@ -122,7 +122,7 @@ setup_gpigeon() {
sed "s/gpgid_goes_here/$gpgidlong/g" -i $SCRIPT
if [ $HAS_MAILSERVER -eq 1 ]; then
sed "s/HAS_MAILSERVER=0/HAS_MAILSERVER=1/g" $SCRIPT
- cpamn Mail::Sendmail
+ cpamn Mail::Sendmail || ( printf "\nInstallation of Mail::Sendmail failed\n" && self_abort )
fi
printf "\nCreating static files directory at $ROOT_DIR"