summaryrefslogtreecommitdiffstats
path: root/system/clamsmtp/doinst.sh
diff options
context:
space:
mode:
author Nishant Limbachia <nishant@mnspace.net>2010-05-11 22:26:33 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:33 +0200
commitf64823ff4bed529c42fa7bfa22149b25c224b125 (patch)
tree2331ecd7b6245dd8a29c07cc1d01e88c40641c81 /system/clamsmtp/doinst.sh
parent458717de0402720d3aef1bd62585d152d3b44156 (diff)
downloadslackbuilds-f64823ff4bed529c42fa7bfa22149b25c224b125.tar.gz
slackbuilds-f64823ff4bed529c42fa7bfa22149b25c224b125.tar.xz
system/clamsmtp: Updated for version 1.10
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
-