[X2Go-Commits] [nx-libs] 01/01: Enforce symlink creation for Xinerama et al. library symlinks.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 23 12:17:48 CEST 2015


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

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

commit 3027f50195dfd3ca8a9cc482a949a5c04eec6bb6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Sep 23 12:16:22 2015 +0200

    Enforce symlink creation for Xinerama et al. library symlinks.
---
 debian/changelog                   |    1 +
 debian/libnx-xinerama1.postinst.in |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ca34cc..c8ab3df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
   * debian/libxinerama1.postinst.in:
     + Revert 5a9f829. Make sure libnx-Xinerama1 based Xinerama works
       again with X2Go on Debian based systems. 
+    + Enforce symlink creation for Xinerama et al. library symlinks.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Sat, 04 Jul 2015 06:29:19 +0200
 
diff --git a/debian/libnx-xinerama1.postinst.in b/debian/libnx-xinerama1.postinst.in
index c370603..38cc415 100755
--- a/debian/libnx-xinerama1.postinst.in
+++ b/debian/libnx-xinerama1.postinst.in
@@ -29,13 +29,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
-			ln -s $libdir/libX11.so.6 /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
+			ln -sf $libdir/libX11.so.6 /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
 		fi
 		if test -e $libdir/libXext.so.6; then
-			ln -s $libdir/libXext.so.6 /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
+			ln -sf $libdir/libXext.so.6 /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
 		fi
 		if test -e $libdir/libNX_Xinerama.so.1; then
-			ln -s $libdir/libNX_Xinerama.so.1 /usr/lib/nx/X11/Xinerama/libXinerama.so.1
+			ln -sf $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