summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
authorNeil Romig2017-12-07 14:06:53 +0000
committerNeil Romig2017-12-07 14:06:53 +0000
commitb813ff15d2fd8d492b35f9858eeb0974753c7802 (patch)
tree3d27537112938f2cee3955f64f3cc1a63c63f641 /courier-mta.install
parent0f893009b420dc37fe808844a6382f20c435e2d8 (diff)
downloadaur-b813ff15d2fd8d492b35f9858eeb0974753c7802.tar.gz
Move to version 0.78.2
Diffstat (limited to 'courier-mta.install')
-rw-r--r--courier-mta.install14
1 files changed, 6 insertions, 8 deletions
diff --git a/courier-mta.install b/courier-mta.install
index 37f3e7ec964..ea7134d3d79 100644
--- a/courier-mta.install
+++ b/courier-mta.install
@@ -4,9 +4,9 @@ post_install() {
# perform all the tasks required of a standard Courier install
echo Performing install-configure...
- /usr/lib/courier/sysconftool /etc/courier/*.dist > /etc/courier/upgrade-$1.log
- echo ...output saved to /etc/courier/upgrade-$1.log
- echo "Do not forget to choose an account to receive postmaster mail."
+ /usr/lib/courier/sysconftool /etc/courier/*.dist > /etc/courier/install-$1.log
+ echo "...output saved to /etc/courier/install-$1.log"
+ echo "Don't forget to configure an account to receive postmaster mail"
makealiases
makesmtpaccess
/usr/bin/mkdhparams
@@ -20,18 +20,16 @@ pre_upgrade() {
post_upgrade() {
echo Performing install-configure...
/usr/lib/courier/sysconftool /etc/courier/*.dist > /etc/courier/upgrade-$1.log
- echo ...output saved to /etc/courier/upgrade-$1.log
+ echo "...output saved to /etc/courier/upgrade-$1.log"
}
pre_remove() {
# there may be many files not part of the original installation that would be useful to save
# so save the whole configuration directory rather than try to list all possibilities
- # in backup(). Also avoids creation of .pacsave files in alias and smtpaccess directories that
+ # in backup(). Also avoids creation of .pacsave files in the alias and smtpaccess directories that
# process all contained files
mv -f /etc/courier /etc/courier-$1
- cat << EOM
- --> /etc/courier has been saved as /etc/courier-$1 - you may remove this folder if you wish.
-EOM
+ echo "/etc/courier has been saved as /etc/courier-$1 - you may remove this folder if you wish."
# clean up temporary storage
rm -rf /run/courier /var/spool/courier