aboutsummaryrefslogtreecommitdiff
path: root/debian/libnx-xinerama1.postinst.in
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-05-05 01:22:18 +0200
committerMihai Moldovan <ionic@ionic.de>2015-05-05 01:22:18 +0200
commit06f36d0f0bcf3c5d1f5cb59afdd49599fa8c1d0b (patch)
treed7017ba0f15680c14afb0c5668a524077ced2832 /debian/libnx-xinerama1.postinst.in
parentc9d81fc38915faaffdbcfe4b4f69d5e2fcbfcedf (diff)
downloadnx-libs-06f36d0f0bcf3c5d1f5cb59afdd49599fa8c1d0b.tar.gz
nx-libs-06f36d0f0bcf3c5d1f5cb59afdd49599fa8c1d0b.tar.bz2
nx-libs-06f36d0f0bcf3c5d1f5cb59afdd49599fa8c1d0b.zip
debian/libnx-xinerama1.*: fix faulty logic when creating symlinks.
Diffstat (limited to 'debian/libnx-xinerama1.postinst.in')
-rwxr-xr-xdebian/libnx-xinerama1.postinst.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/libnx-xinerama1.postinst.in b/debian/libnx-xinerama1.postinst.in
index c3706038c..6d9ba36ef 100755
--- a/debian/libnx-xinerama1.postinst.in
+++ b/debian/libnx-xinerama1.postinst.in
@@ -28,13 +28,13 @@ case "$1" in
# Already existent files are not removed.
# Users will need to explicitly remove them and (re-) configure this package.
- if test -e $libdir/libX11.so.6; then
+ if ! test -e $libdir/libX11.so.6; then
ln -s $libdir/libX11.so.6 /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
fi
- if test -e $libdir/libXext.so.6; then
+ if ! test -e $libdir/libXext.so.6; then
ln -s $libdir/libXext.so.6 /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
fi
- if test -e $libdir/libNX_Xinerama.so.1; then
+ if ! test -e $libdir/libNX_Xinerama.so.1; then
ln -s $libdir/libNX_Xinerama.so.1 /usr/lib/nx/X11/Xinerama/libXinerama.so.1
fi
;;