]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/nfs-common.postrm
Imported Debian patch 1.1.1~git-20070709-1
[nfs-utils.git] / debian / nfs-common.postrm
old mode 100755 (executable)
new mode 100644 (file)
index 6783bcd..c7af643
@@ -6,7 +6,7 @@ case "$1" in
     purge)
        update-rc.d nfs-common remove >/dev/null
 
-       for FILE in /etc/default/nfs-common /etc/idmapd.conf /etc/gssapi_mech.conf; do
+       for FILE in /etc/default/nfs-common /etc/idmapd.conf; do
            # Taken from the ucf example postrm
            for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist;  do
                rm -f $FILE$ext
@@ -20,5 +20,7 @@ case "$1" in
        rm -f /var/lib/nfs/state    \
              /var/lib/nfs/sm/*     \
              /var/lib/nfs/sm.bak/*
+           
+       dpkg-statoverride --remove /sbin/mount.nfs
        ;;
 esac