Skip to content
Snippets Groups Projects
Commit d5b08cc2 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

testing/amavisd-new: post-install fixed

parent 0eabaf34
No related merge requests found
...@@ -17,7 +17,12 @@ source="http://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.gz" ...@@ -17,7 +17,12 @@ source="http://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.gz"
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
. ../../common_vars 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
for dir in $DIRS for dir in $DIRS
do do
...@@ -36,3 +41,4 @@ build() { ...@@ -36,3 +41,4 @@ build() {
} }
md5sums="02b0bd38b40258841c60479603dc6842 amavisd-new-2.6.3.tar.gz" md5sums="02b0bd38b40258841c60479603dc6842 amavisd-new-2.6.3.tar.gz"
#!/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
#!/bin/sh #!/bin/sh
. ../../common_vars 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 addgroup $USER
adduser -h $HOME -s /bin/false -G $GROUP -D $USER adduser -h $HOME -s /bin/false -G $GROUP -D $USER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment