diff options
Diffstat (limited to 'extra/clamsmtp/clamsmtp.pre-upgrade')
-rw-r--r-- | extra/clamsmtp/clamsmtp.pre-upgrade | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/clamsmtp/clamsmtp.pre-upgrade b/extra/clamsmtp/clamsmtp.pre-upgrade new file mode 100644 index 0000000000..12de39f7b1 --- /dev/null +++ b/extra/clamsmtp/clamsmtp.pre-upgrade @@ -0,0 +1,12 @@ +#!/bin/sh + +old=/etc/conf.d/clamsmtp +new=/etc/conf.d/clamsmtpd + +if [ -f "$old" ] && [ ! -f "$new" ]; then + mv "$old" "$new" + echo " *" + echo " * NOTICE: $old was renamed to $new" + echo " *" +fi + |