summaryrefslogtreecommitdiffstats
path: root/system/clamsmtp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamsmtp/doinst.sh')
-rw-r--r--system/clamsmtp/doinst.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/clamsmtp/doinst.sh b/system/clamsmtp/doinst.sh
index 5eaefb58b7..f5d8519106 100644
--- a/system/clamsmtp/doinst.sh
+++ b/system/clamsmtp/doinst.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -13,13 +11,12 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-# Keep same perms on rc.clamsmtpd.new:
-if [ -e etc/rc.d/rc.clamsmtpd ]; then
- cp -a etc/rc.d/rc.clamsmtpd etc/rc.d/rc.clamsmtpd.new.incoming
+# Keep same perms on rc.heimdal:
+if [ -e etc/rc.d/rc.clamsmtpd]; then
+ cp -a etc/rc.d/rc.clamsmtpdetc/rc.d/rc.clamsmtpd.new.incoming
cat etc/rc.d/rc.clamsmtpd.new > etc/rc.d/rc.clamsmtpd.new.incoming
mv etc/rc.d/rc.clamsmtpd.new.incoming etc/rc.d/rc.clamsmtpd.new
fi
-config etc/rc.d/rc.clamsmtpd.new
+config etc/rc.d/rc.clamsmtpd.new
config etc/clamsmtpd.conf.new
-