summaryrefslogtreecommitdiffstats
path: root/amavisd-new/amavisd-new.install
diff options
context:
space:
mode:
Diffstat (limited to 'amavisd-new/amavisd-new.install')
-rw-r--r--amavisd-new/amavisd-new.install35
1 files changed, 0 insertions, 35 deletions
diff --git a/amavisd-new/amavisd-new.install b/amavisd-new/amavisd-new.install
deleted file mode 100644
index afa5b2e..0000000
--- a/amavisd-new/amavisd-new.install
+++ /dev/null
@@ -1,35 +0,0 @@
-post_install()
-{
-
- [ -z "`grep '^amavis::' /etc/group`" ] && groupadd -g 333 amavis >& /dev/null
-
- [ -z "`grep '^amavis:' /etc/passwd`" ] && useradd -u 333 -d /home/amavis -g amavis -s /bin/false amavis
-
- [ ! -d /home/amavis ] && mkdir /home/amavis
-
- [ ! -d /home/amavis/tmp ] && mkdir /home/amavis/tmp
-
- [ ! -d /home/amavis/var ] && mkdir /home/amavis/var
-
- [ ! -d /home/amavis/db ] && mkdir /home/amavis/db
-
- [ ! -d /home/amavis/quarantine ] && mkdir /home/amavis/quarantine
-
- chown -R amavis:amavis /home/amavis
-
- chmod -R 750 /home/amavis
-
-}
-
-post_upgrade()
-{
-
- post_install
-
-}
-
-op=$1
-
-shift
-
-$op $*