From f9d106a22ab432628eca4e2b82086359bd80bf2d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Tue, 7 Aug 2007 09:28:17 -0600 Subject: [PATCH] If nfs-common is not installed, skip nfs check --- debian/mount.preinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/mount.preinst b/debian/mount.preinst index f9fb1f6d..5717239a 100644 --- a/debian/mount.preinst +++ b/debian/mount.preinst @@ -19,7 +19,7 @@ case "$1" in version=$2 export LANG=C # for the comparison of mail version... - if [ -f /proc/mounts ]; then + if [ -f /var/lib/dpkg/info/nfs-common.list ] && [ -f /proc/mounts ]; then NFS_IN_USE=$(sed -n '/^[^ ]* [^ ]* nfs /p' /proc/mounts) else NFS_IN_USE="" -- 2.39.5