[pkg-fso-commits] [SCM] Xglamo, the X server of the Openmoko FreeRunner (GTA02) branch, debian, updated. 2eaf951b845858283cafeef83f7b3fdbe49d2d54

Luca Capello luca at pca.it
Sun Sep 28 20:10:38 UTC 2008


The following commit has been merged in the debian branch:
commit 2eaf951b845858283cafeef83f7b3fdbe49d2d54
Author: Luca Capello <luca at pca.it>
Date:   Sun Sep 28 22:10:24 2008 +0200

    debian/xserver-xglamo.prerm.in: really run dpkg-divert

diff --git a/debian/xserver-xglamo.prerm.in b/debian/xserver-xglamo.prerm.in
index 15335b9..88c4550 100644
--- a/debian/xserver-xglamo.prerm.in
+++ b/debian/xserver-xglamo.prerm.in
@@ -6,7 +6,7 @@ set -e
 if [ "$1" = "remove" ]; then
     SERVER_SYMLINK="/etc/X11/X"
     rm -f $SERVER_SYMLINK
-    if [ -z "$(dpkg-divert --list $SERVER_SYMLINK)" ]; then
+    if [ ! -z "$(dpkg-divert --list $SERVER_SYMLINK)" ]; then
 	dpkg-divert --remove --package xserver-xglamo --rename \
 	    --divert $SERVER_SYMLINK.distrib $SERVER_SYMLINK
     fi

-- 
Xglamo, the X server of the Openmoko FreeRunner (GTA02)



More information about the pkg-fso-commits mailing list