aboutsummaryrefslogtreecommitdiff
path: root/debian/nxagent.prerm
diff options
context:
space:
mode:
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)