aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-23 12:15:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 07:53:07 +0200
commit3a022e35c35c832ec3db812c5786c2dd84930e45 (patch)
tree7f448b9a6ade47fda68364c311aeaae3f966d3fd
parent899f865cfb42d579bd853c8c5b6458dc088f977c (diff)
downloadnx-libs-3a022e35c35c832ec3db812c5786c2dd84930e45.tar.gz
nx-libs-3a022e35c35c832ec3db812c5786c2dd84930e45.tar.bz2
nx-libs-3a022e35c35c832ec3db812c5786c2dd84930e45.zip
debian/libnx-xinerama1.postinst.in: Enforce symlink creation for Xinerama support.
-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..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
;;