aboutsummaryrefslogtreecommitdiff
path: root/debian/libnx-xinerama1.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libnx-xinerama1.prerm')
-rwxr-xr-xdebian/libnx-xinerama1.prerm13
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/libnx-xinerama1.prerm b/debian/libnx-xinerama1.prerm
index 91105d0f8..8cca06c85 100755
--- a/debian/libnx-xinerama1.prerm
+++ b/debian/libnx-xinerama1.prerm
@@ -20,7 +20,18 @@ set -e
case "$1" in
remove)
if test -d /usr/lib/nx/X11/Xinerama; then
- rm -rf /usr/lib/nx/X11/Xinerama
+ if test -e /usr/lib/nx/X11/Xinerama/libNX_X11.so.6; then
+ rm -f /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
+ fi
+
+ if test -e /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6; then
+ 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
fi
;;
deconfigure|upgrade|failed-upgrade)