Ubuntu Pastebin

Paste from balloons at Mon, 31 Oct 2016 20:19:43 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -Nru juju-core-2.0.0/debian/changelog juju-core-2.0.0/debian/changelog
--- juju-core-2.0.0/debian/changelog	2016-10-31 16:10:24.000000000 -0400
+++ juju-core-2.0.0/debian/changelog	2016-10-31 15:56:26.000000000 -0400
@@ -1,3 +1,9 @@
+juju-core (2.0.0-0ubuntu0.16.04.2) xenial; urgency=medium
+
+  * DPKG_MAINTSCRIPT_ARCH doesn't work in .config, use dpkg check instead
+
+ -- Nicholas Skaggs <nicholas.skaggs@canonical.com>  Mon, 31 Oct 2016 15:55:49 -0400
+
 juju-core (2.0.0-0ubuntu0.16.04.1) xenial-proposed; urgency=medium
 
   [ Nicholas Skaggs ]
diff -Nru juju-core-2.0.0/debian/juju-2.0.config juju-core-2.0.0/debian/juju-2.0.config
--- juju-core-2.0.0/debian/juju-2.0.config	2016-10-31 16:10:24.000000000 -0400
+++ juju-core-2.0.0/debian/juju-2.0.config	2016-10-31 15:55:35.000000000 -0400
@@ -4,7 +4,8 @@
 # Source debconf library
 . /usr/share/debconf/confmodule
 
-case $DPKG_MAINTSCRIPT_ARCH in amd64|arm64|ppc64el|s390x)
+ARCH=`dpkg --print-architecture`
+case $ARCH in amd64|arm64|ppc64el|s390x)
 	exit 0
 esac
 db_input critical juju/unsupportedarch || true
Download as text