From: Arkadiusz Miƛkiewicz Date: Mon, 27 Nov 2000 22:57:16 +0000 (+0000) Subject: using update-db is obsolete; removed X-Git-Tag: postfix-20001210-1~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=8f9b054ce725a8b642f5b340a23dcf3d07712ecd;p=packages%2Fpostfix.git using update-db is obsolete; removed Changed files: postfix.spec -> 1.65 --- diff --git a/postfix.spec b/postfix.spec index d701d53..8623755 100644 --- a/postfix.spec +++ b/postfix.spec @@ -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