]> git.donarmstrong.com Git - debhelper.git/commitdiff
r558: * Use dpkg-architecture instead of dpkg --print-architecture (again?)
authorjoey <joey>
Thu, 17 Oct 2002 00:41:45 +0000 (00:41 +0000)
committerjoey <joey>
Thu, 17 Oct 2002 00:41:45 +0000 (00:41 +0000)
     See #164863
   * typo fix Closes: #164958 The rest seems clear enough from context, so
     omitted.

Debian/Debhelper/Dh_Lib.pm
debian/changelog
dh_installinit

index 3b7a51928240ceeaad5148671f6609bd686ceca3..7770b5abc3b9c2dc79be2c909d9c10c2347a7371 100644 (file)
@@ -500,7 +500,7 @@ sub excludefile {
        sub buildarch {
                return $arch if defined $arch;
 
-               $arch=`dpkg --print-architecture` || error($!);
+               $arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || error($!);
                chomp $arch;
                return $arch;
        }
index 792443e6a182adabd365c112272ab15a3779a0a7..c11d28c33db40fb0a56f6ea34074b7defd9555ee 100644 (file)
@@ -1,3 +1,12 @@
+debhelper (4.1.18) unstable; urgency=low
+
+  * Use dpkg-architecture instead of dpkg --print-architecture (again?)
+    See #164863
+  * typo fix Closes: #164958 The rest seems clear enough from context, so
+    omitted.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 16 Oct 2002 20:47:43 -0400
+
 debhelper (4.1.17) unstable; urgency=low
 
   * dh_installinit: added --no-start for rcS type scripts. Closes: #136502
index a9070f2d6891e3988aa8f71dba8feedc9cd84f1c..1eaffc0cc280072346723b4067b11ac58a16d4ee 100755 (executable)
@@ -44,7 +44,7 @@ Do not restart init script on upgrade.
 
 =item B<--no-start>
 
-Do not start the init script at on install or upgrade, or stop it on removal.
+Do not start the init script on install or upgrade, or stop it on removal.
 Only call update-rc.d. Useful for rcS scripts.
 
 =item B<-d>, B<--remove-d>