- fi
- if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1:1.0.7-13; then
- chown statd /var/lib/nfs/sm \
- /var/lib/nfs/sm.bak \
- /var/lib/nfs/rpc_pipefs \
- /var/lib/nfs
- if [ -f /var/lib/nfs/state ]; then
- chown statd /var/lib/nfs/state
+ fi
+
+ chown statd: /var/lib/nfs/sm \
+ /var/lib/nfs/sm.bak \
+ /var/lib/nfs/rpc_pipefs \
+ /var/lib/nfs
+ if [ -f /var/lib/nfs/state ]; then
+ chown statd /var/lib/nfs/state
+ fi
+
+ if [ "$2" != "" ] || dpkg --compare-versions "$2" lt 1:1.1.0-14; then
+ if dpkg-statoverride --list /sbin/mount.nfs >/dev/null 2>&1; then
+ dpkg-statoverride --remove /sbin/mount.nfs