diff options
author | Mihai Moldovan <ionic@ionic.de> | 2015-04-30 14:25:25 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2015-04-30 14:30:59 +0200 |
commit | a9bc7bdb6bc8c51f3ed8f35e80c4c0291f3d7ac2 (patch) | |
tree | e70982ab5561d088335bae94a64f71f68eb7d066 /debian/libnx-xinerama1.prerm | |
parent | 7a6b40a11ded7f36e8d99039144238d33a84849d (diff) | |
download | nx-libs-a9bc7bdb6bc8c51f3ed8f35e80c4c0291f3d7ac2.tar.gz nx-libs-a9bc7bdb6bc8c51f3ed8f35e80c4c0291f3d7ac2.tar.bz2 nx-libs-a9bc7bdb6bc8c51f3ed8f35e80c4c0291f3d7ac2.zip |
debian/libnx-xinerama1.*: move Xinerama dir back to nx-x11-common. Only delete known files. Fixes RPM build failures.
Diffstat (limited to 'debian/libnx-xinerama1.prerm')
-rwxr-xr-x | debian/libnx-xinerama1.prerm | 13 |
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) |