stop using deprecated --print-installation-architecture call to dpkg
authorBdale Garbee <bdale@gag.com>
Sat, 11 Jul 2009 01:32:21 +0000 (20:32 -0500)
committerBdale Garbee <bdale@gag.com>
Sat, 11 Jul 2009 01:32:21 +0000 (20:32 -0500)
MAKEDEV
debian/changelog

diff --git a/MAKEDEV b/MAKEDEV
index 94453e1d1afd859d538142511fc4d089a9c9c453..e0d78a2e60e498a10c3631446a35d0c5231c477b 100644 (file)
--- a/MAKEDEV
+++ b/MAKEDEV
@@ -356,7 +356,7 @@ do
        case $arg in
        generic)
                # pick the right generic-<arch> using dpkg's knowledge
-               case `dpkg --print-installation-architecture` in
+               case `dpkg --print-architecture` in
                        alpha)
                                $0 $opts generic-alpha
                                ;;
@@ -728,7 +728,7 @@ do
                ;;
        adb)
                # pick the right arch device using dpkg's knowledge
-               case `dpkg --print-installation-architecture` in
+               case `dpkg --print-architecture` in
                        powerpc)
                                # ADB bus devices (char)
                                makedev adb c 56 0 $mouse
index 7c549d0678cfcb5acf4c80c367de3fa32f7e7a6e..2ff73f20566245842717d169e4bc6a1b96a5ad74 100644 (file)
@@ -1,3 +1,9 @@
+makedev (2.3.1-89) unstable; urgency=low
+
+  * use dpkg --print-architecture instead of deprecated form, closes: #536540
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 10 Jul 2009 20:31:20 -0500
+
 makedev (2.3.1-88) unstable; urgency=low
 
   * no need to squelch output of update-rc.d in preinst