]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Use dpkg --print-architecture in openafs-fileserver.config
authorRuss Allbery <rra@debian.org>
Sat, 28 Aug 2010 00:52:36 +0000 (17:52 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 28 Aug 2010 02:31:50 +0000 (19:31 -0700)
* Use dpkg --print-architecture, not --print-installation-architecture,
  in the openafs-fileserver config script.  The latter is deprecated.
  Thanks, Peter Palfrader.  (Closes: #594488)

debian/changelog
debian/openafs-fileserver.config

index b56af987a4880e7030ff509cbd4915f353fea7a1..ad137ca95b323d7893a9746f40588703e4bc4536 100644 (file)
@@ -3,6 +3,9 @@ openafs (1.5.75-3) UNRELEASED; urgency=low
   * The openafs-fileserver init script now depends on $named since
     apparently the volserver requires DNS during startup.  Thanks, Jaap
     Winius.  (Closes: #589783)
+  * Use dpkg --print-architecture, not --print-installation-architecture,
+    in the openafs-fileserver config script.  The latter is deprecated.
+    Thanks, Peter Palfrader.  (Closes: #594488)
   * Run the DKMS build commands in a subshell to work around a DKMS bug
     that caused the module build logs to be discarded.  (LP: #593509)
   * Add a status command to the openafs-fileserver init script.
index c333f478457c79b6f8c314618fb755435dcab208..9e221e616eaf2ee2f7f6ff9456fe325c834daee1 100644 (file)
@@ -6,7 +6,7 @@ set -e
 db_version 2.0
 
 # Warn anyone who's trying to run the file server on alpha.
-arch=`dpkg --print-installation-architecture`
+arch=`dpkg --print-architecture`
 if [ "$arch" = "alpha" ] ; then
     db_input high openafs-fileserver/alpha-broken || true
 fi