r11485 - in /desktop/unstable/gnome-games/debian: changelog gnome-games.postinst

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Jun 12 19:23:30 UTC 2007


Author: joss
Date: Tue Jun 12 19:23:30 2007
New Revision: 11485

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11485
Log:
* Add manpages for the rest of the games. Manpages for glchess
  and gnome-sudoku shamelessly stolen from their respective
* gnome-games.postinst: remove bytecompiled files left there by the 
  terribly buggy first version of gnome-sudoku. Closes: #425934.

Modified:
    desktop/unstable/gnome-games/debian/changelog
    desktop/unstable/gnome-games/debian/gnome-games.postinst

Modified: desktop/unstable/gnome-games/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/changelog?rev=11485&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/changelog (original)
+++ desktop/unstable/gnome-games/debian/changelog Tue Jun 12 19:23:30 2007
@@ -1,10 +1,15 @@
-gnome-games (1:2.18.2-2) UNRELEASED; urgency=low
-
-  * Add manpages for the rest of the games. Manpages for glchess 
-    and gnome-sudoku shamelessly stolen from their respective 
+gnome-games (1:2.18.2-2) unstable; urgency=low
+
+  [ Sven Arvidsson ]
+  * Add manpages for the rest of the games. Manpages for glchess
+    and gnome-sudoku shamelessly stolen from their respective
     packages. (Closes: #218411, #228164)
 
- -- Sven Arvidsson <sa at whiz.se>  Sat, 09 Jun 2007 23:27:44 +0200
+  [ Josselin Mouette ]
+  * gnome-games.postinst: remove bytecompiled files left there by the 
+    terribly buggy first version of gnome-sudoku. Closes: #425934.
+
+ -- Josselin Mouette <joss at debian.org>  Tue, 12 Jun 2007 21:22:38 +0200
 
 gnome-games (1:2.18.2-1) unstable; urgency=low
 

Modified: desktop/unstable/gnome-games/debian/gnome-games.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/gnome-games.postinst?rev=11485&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/gnome-games.postinst (original)
+++ desktop/unstable/gnome-games/debian/gnome-games.postinst Tue Jun 12 19:23:30 2007
@@ -120,6 +120,18 @@
 	chmod 664 /var/games/$FILES
 done
 
+OLDDIR=/usr/lib/python2.4/site-packages/gnome_sudoku
+if [ -d $OLDDIR ]; then
+# Work around horrible bug of the initial gnome-sudoku package
+	for dir in $OLDDIR/gtk_goodies $OLDDIR; do
+		rm -f $dir/*.pyc $dir/*.pyo
+		rmdir --ignore-fail-on-non-empty $dir
+	done
+	if [ -d $OLDDIR ]; then
+		echo "Warning: $OLDDIR is not empty and could not be cleaned up."
+	fi
+fi
+
 fi
 
 #DEBHELPER#




More information about the pkg-gnome-commits mailing list