From 3637fab6e28d361f96cf3bb325d25df5091c324e Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 30 Jul 2007 17:37:02 -0600 Subject: [PATCH] look in the right place --- debian/changelog | 6 ++++++ debian/mount.preinst | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a96978c1..1c2f5dae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +util-linux (2.13~rc2-5) unstable-UNRELEASED; urgency=low + + * mount.preinst: check the right directory for mount.nfs. Closes: #435307 + + -- LaMont Jones Mon, 30 Jul 2007 17:36:15 -0600 + util-linux (2.13~rc2-4) unstable; urgency=low * switch to using libvolume-id-dev diff --git a/debian/mount.preinst b/debian/mount.preinst index 3420ec72..50acf4b5 100644 --- a/debian/mount.preinst +++ b/debian/mount.preinst @@ -20,7 +20,7 @@ case "$1" in export LANG=C # for the comparison of mail version... NFS_IN_USE=$(sed -n '/^[^ ]* [^ ]* nfs /p' /proc/mounts) - if [ -n "$NFS_IN_USE" ] && [ ! -x /usr/sbin/mount.nfs ]; then + if [ -n "$NFS_IN_USE" ] && [ ! -x /sbin/mount.nfs ] ; then cat << EOF You have NFS mounts, and this version of mount requires that nfs-common be upgraded before NFS mounts will work. -- 2.39.5