r11489 - /desktop/unstable/gnome-games/debian/gnome-games.postinst
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Tue Jun 12 19:50:48 UTC 2007
Author: joss
Date: Tue Jun 12 19:50:47 2007
New Revision: 11489
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11489
Log:
Fix a corner case in postinst
Modified:
desktop/unstable/gnome-games/debian/gnome-games.postinst
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=11489&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/gnome-games.postinst (original)
+++ desktop/unstable/gnome-games/debian/gnome-games.postinst Tue Jun 12 19:50:47 2007
@@ -121,15 +121,15 @@
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
+for dir in $OLDDIR/gtk_goodies $OLDDIR; do
+ if [ -d $dir ]; then
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
+done
+if [ -d $OLDDIR ]; then
+ echo "Warning: $OLDDIR is not empty and could not be cleaned up."
fi
fi
More information about the pkg-gnome-commits
mailing list