From 95929b8a50ce2ea07c1a0784b58a94fb0b23e36a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 1 Mar 2012 22:27:26 +0100 Subject: no bashisms in package scripts --- debian/libnx-x11.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/libnx-x11.postinst') 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) -- cgit v1.2.3