aboutsummaryrefslogtreecommitdiff
path: root/debian/libnx-xinerama1.postinst.in
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-23 12:15:06 +0200
commitda6b89f7e89fcb0858e6e32188a2f72d1c75366d (patch)
tree059337b223f2fef6ac3bc6c7140999e49d3687a4 /debian/libnx-xinerama1.postinst.in
parent4db753eb79b86f1bd864654f51da34c38db222cc (diff)
downloadnx-libs-da6b89f7e89fcb0858e6e32188a2f72d1c75366d.tar.gz
nx-libs-da6b89f7e89fcb0858e6e32188a2f72d1c75366d.tar.bz2
nx-libs-da6b89f7e89fcb0858e6e32188a2f72d1c75366d.zip
debian/libnx-xinerama1.postinst.in: Enforce symlink creation for Xinerama support.
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..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
;;