]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
* Exit successfully in the openafs-client init script if no module is
authorRuss Allbery <rra@debian.org>
Sat, 15 Apr 2006 18:34:45 +0000 (18:34 +0000)
committerRuss Allbery <rra@debian.org>
Sat, 15 Apr 2006 18:34:45 +0000 (18:34 +0000)
    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
debian/openafs-client.init

index d23f748797545f7737dd34ee8517c046fc6216d9..186e11f1ebd688827991f16974c089d896e7cb8d 100644 (file)
@@ -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.
index d73f96dc31dcbba54482d833fd9be3c464f97cb8..a82a5b10e2bb9ae58cf6e7d1c165bc9f2232ee8c 100755 (executable)
@@ -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