Commit 81d92cd0 authored by Mike Gabriel's avatar Mike Gabriel

Xinerama symlinking: Create / remove folder containing Xinerama sylinks on…

Xinerama symlinking: Create / remove folder containing Xinerama sylinks on installation/upgrade and removal.
parent 45983d13
...@@ -26,6 +26,7 @@ case "$1" in ...@@ -26,6 +26,7 @@ case "$1" in
libdir=/usr/lib/#DEB_BUILD_MULTIARCH# libdir=/usr/lib/#DEB_BUILD_MULTIARCH#
mkdir -p /usr/lib/nx/X11/Xinerama/
# Already existent files are not removed. # Already existent files are not removed.
# Users will need to explicitly remove them and (re-) configure this package. # 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
......
...@@ -28,10 +28,12 @@ case "$1" in ...@@ -28,10 +28,12 @@ case "$1" in
rm -f /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6 rm -f /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
fi fi
if test -e /usr/lib/nx/X11/Xinerama/libXinerama.so.1; then if test -e /usr/lib/nx/X11/Xinerama/libXinerama.so.1; then
rm -f /usr/lib/nx/X11/Xinerama/libXinerama.so.1 rm -f /usr/lib/nx/X11/Xinerama/libXinerama.so.1
fi fi
rmdir --ignore-fail-on-non-empty /usr/lib/nx/X11/Xinerama
fi fi
;; ;;
deconfigure|upgrade|failed-upgrade) deconfigure|upgrade|failed-upgrade)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment