From: chip Date: Mon, 16 Sep 2002 02:25:12 +0000 (+0000) Subject: Silence the removal of old rc.d links. X-Git-Tag: nfs-utils-1-0-2-pre4~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=2079b40a6779ddd15f3fe650c741b14e0b453a7e Silence the removal of old rc.d links. --- diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst index 261eeaa..a69cf6a 100755 --- a/debian/nfs-common.postinst +++ b/debian/nfs-common.postinst @@ -9,7 +9,7 @@ case "$1" in || ( dpkg --compare-versions "$2" ge "1:1.0.1" \ && dpkg --compare-versions "$2" lt "1:1.0.2-1" ) then - update-rc.d -f nfs-common remove >/dev/null + update-rc.d -f nfs-common remove >/dev/null 2>&1 || true fi update-rc.d nfs-common defaults 21 79 >/dev/null ;;