]> git.pld-linux.org Git - packages/postfix.git/commitdiff
using update-db is obsolete; removed
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 27 Nov 2000 22:57:16 +0000 (22:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix.spec -> 1.65

postfix.spec

index d701d5391337ca745666802303cb3858986d22d3..8623755b32351aaf9acec3c4d52e8937e481ef57 100644 (file)
@@ -126,9 +126,6 @@ if [ -n "`/usr/bin/getgid postfix`" ]; then
        fi
 else
        /usr/sbin/groupadd -g 62 -r -f postfix
-       if [ -f /var/db/group.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 if [ -n "`/usr/bin/getgid maildrop`" ]; then
        if [ "`/usr/bin/getgid maildrop`" != "63" ]; then
@@ -137,9 +134,6 @@ if [ -n "`/usr/bin/getgid maildrop`" ]; then
        fi
 else
        /usr/sbin/groupadd -g 63 -r -f maildrop
-       if [ -f /var/db/group.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 if [ -n "`/bin/id -u postfix 2>/dev/null`" ]; then
        if [ "`/bin/id -u postfix`" != "62" ]; then
@@ -148,9 +142,6 @@ if [ -n "`/bin/id -u postfix 2>/dev/null`" ]; then
        fi
 else
        /usr/sbin/useradd -u 62 -r -d /var/spool/postfix -s /bin/false -c "Postfix User" -g postfix postfix 1>&2
-       if [ -f /var/db/passwd.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 
 %post
@@ -183,9 +174,6 @@ if [ $1 = 0 ]; then
        /usr/sbin/groupdel maildrop 2> /dev/null
        /usr/sbin/userdel postfix 2> /dev/null
        /usr/sbin/groupdel postfix 2> /dev/null
-       if [ -f /var/db/passwd.db ] || [ -f /var/db/group.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 
 %clean
This page took 0.148751 seconds and 4 git commands to generate.