[X2Go-Commits] [nx-libs] 17/20: debian/libnx-xinerama1.*: fix faulty logic when creating symlinks.

git-admin at x2go.org git-admin at x2go.org
Fri May 15 14:07:16 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit b77b26f4acc3932c29a1e0788e22d24e29e091d5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue May 5 01:22:18 2015 +0200

    debian/libnx-xinerama1.*: fix faulty logic when creating symlinks.
---
 debian/libnx-xinerama1.postinst.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/libnx-xinerama1.postinst.in b/debian/libnx-xinerama1.postinst.in
index c370603..6d9ba36 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
 	;;

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list