diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/clamsmtp/clamsmtp.post-upgrade | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/clamsmtp/clamsmtp.post-upgrade')
-rw-r--r-- | main/clamsmtp/clamsmtp.post-upgrade | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/clamsmtp/clamsmtp.post-upgrade b/main/clamsmtp/clamsmtp.post-upgrade new file mode 100644 index 0000000000..2dbccbb22a --- /dev/null +++ b/main/clamsmtp/clamsmtp.post-upgrade @@ -0,0 +1,17 @@ +#!/bin/sh + +moved= +for i in /etc/runlevels/*/clamsmtp; do + if [ -L $i ]; then + rm $i + ln -s /etc/init.d/clamsmtpd ${i}d + moved=1 + fi +done + +if [ -n "$moved" ]; then + echo " *" + echo " * NOTICE: /etc/init.d/clamsmtp is renamed to /etc/init.d/clamsmtpd" + echo " *" +fi + |