aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-23 12:16:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-23 12:16:22 +0200
commit3027f50195dfd3ca8a9cc482a949a5c04eec6bb6 (patch)
tree71deb562d003632e295372fd1885ee590547412e
parent449eae1be9ee948872fd35f3a6629b714ceec496 (diff)
downloadnx-libs-3027f50195dfd3ca8a9cc482a949a5c04eec6bb6.tar.gz
nx-libs-3027f50195dfd3ca8a9cc482a949a5c04eec6bb6.tar.bz2
nx-libs-3027f50195dfd3ca8a9cc482a949a5c04eec6bb6.zip
Enforce symlink creation for Xinerama et al. library symlinks.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/libnx-xinerama1.postinst.in6
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 9ca34cc33..c8ab3df60 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@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 c3706038c..38cc415f4 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
;;