From: Steinar H. Gunderson Date: Wed, 26 Sep 2007 15:50:40 +0000 (+0200) Subject: Imported Debian patch 1.1.1~git-20070709-5 X-Git-Tag: debian/1%1.1.1_git-20070709-5^0 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=9a5812b2f70c7fca4e862d11b9f567339389c534 Imported Debian patch 1.1.1~git-20070709-5 --- diff --git a/debian/changelog b/debian/changelog index 55c5c1e..8fc8dca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nfs-utils (1:1.1.1~git-20070709-5) unstable; urgency=low + + * Fix totally broken export-detecting regex in the init script; patch by + Quentin Godfroy. (Closes: #444155) + + -- Steinar H. Gunderson Wed, 26 Sep 2007 17:50:40 +0200 + nfs-utils (1:1.1.1~git-20070709-4) unstable; urgency=low * Replaced libgssapi-dev as build-dependency by libgssglue-dev. diff --git a/debian/nfs-common.init b/debian/nfs-common.init index 80dce3e..2bfa59d 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -63,7 +63,7 @@ fi # condition in nfs-kernel-server's init script does, which has a value in # itself. # -if [ -f /etc/exports ] && grep -q '^ .*/' /etc/exports; then +if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports; then AUTO_NEED_IDMAPD=yes fi