aboutsummaryrefslogtreecommitdiff
path: root/debian/nxagent.prerm
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 09:57:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 09:57:12 +0200
commit81d92cd0fa293e44bbb063d373d9289ddc358c99 (patch)
tree64854f4cfe8806c70b0830e50c11410e4f9cb8bd /debian/nxagent.prerm
parent45983d13072020f5d210b9c613f0db5636dad6a3 (diff)
downloadnx-libs-81d92cd0fa293e44bbb063d373d9289ddc358c99.tar.gz
nx-libs-81d92cd0fa293e44bbb063d373d9289ddc358c99.tar.bz2
nx-libs-81d92cd0fa293e44bbb063d373d9289ddc358c99.zip
Xinerama symlinking: Create / remove folder containing Xinerama sylinks on installation/upgrade and removal.
Diffstat (limited to 'debian/nxagent.prerm')
-rwxr-xr-xdebian/nxagent.prerm4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/nxagent.prerm b/debian/nxagent.prerm
index edc882a46..019284a16 100755
--- a/debian/nxagent.prerm
+++ b/debian/nxagent.prerm
@@ -28,10 +28,12 @@ case "$1" in
rm -f /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
fi
-
if test -e /usr/lib/nx/X11/Xinerama/libXinerama.so.1; then
rm -f /usr/lib/nx/X11/Xinerama/libXinerama.so.1
fi
+
+ rmdir --ignore-fail-on-non-empty /usr/lib/nx/X11/Xinerama
+
fi
;;
deconfigure|upgrade|failed-upgrade)