summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
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