aboutsummaryrefslogtreecommitdiff
path: root/debian/libnx-x11.postinst
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-03-01 22:27:26 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-03-01 22:27:26 +0100
commit95929b8a50ce2ea07c1a0784b58a94fb0b23e36a (patch)
treedda1ae08ba1d7418a6ac6aa01d95d55f9c148f83 /debian/libnx-x11.postinst
parent9b17e8a96af48181c60a2dcbd3f94445bdc18623 (diff)
downloadnx-libs-95929b8a50ce2ea07c1a0784b58a94fb0b23e36a.tar.gz
nx-libs-95929b8a50ce2ea07c1a0784b58a94fb0b23e36a.tar.bz2
nx-libs-95929b8a50ce2ea07c1a0784b58a94fb0b23e36a.zip
no bashisms in package scripts
Diffstat (limited to 'debian/libnx-x11.postinst')
-rwxr-xr-xdebian/libnx-x11.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/libnx-x11.postinst b/debian/libnx-x11.postinst
index ed56bd730..514833ca5 100755
--- a/debian/libnx-x11.postinst
+++ b/debian/libnx-x11.postinst
@@ -23,7 +23,7 @@ case "$1" in
### FIXME: this is a work-around while we have not implemented
### multiarch support into the Debian source package of
### nx-libs.
- if dpkg-architecture -qDEB_BUILD_MULTIARCH &>/dev/null; then
+ if dpkg-architecture -qDEB_BUILD_MULTIARCH 1>/dev/null 2>/dev/null; then
rm -f /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
rm -f /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
libdir=/usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)