From 1e29e799c20959391fbe007e4f250cf088e5e94a Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 15 Apr 2006 18:34:45 +0000 Subject: [PATCH] * Exit successfully in the openafs-client init script if no module is installed, since otherwise openafs-client will fail to install until one builds a module. This restores previous accidental behavior due to a bug in debhelper. (Closes: #362695) --- debian/changelog | 9 +++++++++ debian/openafs-client.init | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d23f74879..186e11f1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +openafs (1.4.1-2) unstable; urgency=low + + * Exit successfully in the openafs-client init script if no module is + installed, since otherwise openafs-client will fail to install until + one builds a module. This restores previous accidental behavior due + to a bug in debhelper. (Closes: #362695) + + -- + openafs (1.4.1-1) unstable; urgency=low * New upstream release. diff --git a/debian/openafs-client.init b/debian/openafs-client.init index d73f96dc3..a82a5b10e 100755 --- a/debian/openafs-client.init +++ b/debian/openafs-client.init @@ -77,7 +77,9 @@ AFS module $MODULEDIR/$LIBAFS does not exist. Not starting AFS. Please consider building kernel modules using instructions in /usr/share/doc/openafs-client/README.modules EOF - exit 1 + # We must exit successfully here or openafs-client will fail on + # installation unless a module is installed. + exit 0 fi LOADED=`/sbin/lsmod | fgrep openafs` if [ -z "$LOADED" ] ; then -- 2.39.5