From 00f209d84e56c0b9bf2835e5a5ef8d85af735a8d Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 9 Jun 2009 07:08:49 +0000 Subject: testing/amavisd-new: post-install now called by APKBUILD --- testing/amavisd-new/APKBUILD | 2 +- testing/amavisd-new/amavisd-new.post-install | 14 ++++++++++++++ testing/amavisd-new/post-install | 14 -------------- 3 files changed, 15 insertions(+), 15 deletions(-) create mode 100755 testing/amavisd-new/amavisd-new.post-install delete mode 100755 testing/amavisd-new/post-install (limited to 'testing/amavisd-new') diff --git a/testing/amavisd-new/APKBUILD b/testing/amavisd-new/APKBUILD index 3b9562528..cd5d8a51f 100644 --- a/testing/amavisd-new/APKBUILD +++ b/testing/amavisd-new/APKBUILD @@ -10,7 +10,7 @@ depends="uclibc sed file perl perl-archive-zip perl-convert-tnef perl-convert-uulib perl-mime-tools perl-mail-tools perl-net-server perl-io-stringy perl-unix-syslog perl-db perl-mail-dkim" makedepends="" -install= +install="$pkgname.post-install" subpackages="" source="http://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.gz" diff --git a/testing/amavisd-new/amavisd-new.post-install b/testing/amavisd-new/amavisd-new.post-install new file mode 100755 index 000000000..56cad39f5 --- /dev/null +++ b/testing/amavisd-new/amavisd-new.post-install @@ -0,0 +1,14 @@ +#!/bin/sh + +HOME=/var/amavis +QUARANTINE=$HOME/quarantine +USER=amavis +GROUP=amavis +DIRS="$HOME $HOME/tmp $HOME/var $HOME/db $HOME/home $QUARANTINE" +CONFIG=/etc/amavisd.conf + +addgroup $USER +adduser -h $HOME -s /bin/false -G $GROUP -D $USER +chown -R $USER:$GROUP $HOME +chmod -R 750 $HOME +chown root:$GROUP $CONFIG diff --git a/testing/amavisd-new/post-install b/testing/amavisd-new/post-install deleted file mode 100755 index 56cad39f5..000000000 --- a/testing/amavisd-new/post-install +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -HOME=/var/amavis -QUARANTINE=$HOME/quarantine -USER=amavis -GROUP=amavis -DIRS="$HOME $HOME/tmp $HOME/var $HOME/db $HOME/home $QUARANTINE" -CONFIG=/etc/amavisd.conf - -addgroup $USER -adduser -h $HOME -s /bin/false -G $GROUP -D $USER -chown -R $USER:$GROUP $HOME -chmod -R 750 $HOME -chown root:$GROUP $CONFIG -- cgit v1.2.3