Ubuntu Pastebin

Paste from neo at Thu, 6 Apr 2017 09:34:35 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
diff --git a/debian/gstreamer-qapt.postinst b/debian/gstreamer-qapt.postinst
index bdbc11e..f470480 100755
--- a/debian/gstreamer-qapt.postinst
+++ b/debian/gstreamer-qapt.postinst
@@ -2,9 +2,11 @@
 
 set -e
 
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 update-alternatives --install /usr/bin/gstreamer-codec-install \
 		    gstreamer-codec-install \
-		    /usr/lib/$DPKG_MAINTSCRIPT_ARCH/libexec/qapt-gst-helper 85 || true
+		    /usr/lib/$DEB_HOST_MULTIARCH/libexec/qapt-gst-helper 85 || true
 
 #DEBHELPER#
 
Download as text