r1211 - packages/trunk/vdrift/debian

Gonéri Le Bouder goneri-guest at costa.debian.org
Wed Jul 26 22:24:16 UTC 2006


Author: goneri-guest
Date: 2006-07-26 22:24:16 +0000 (Wed, 26 Jul 2006)
New Revision: 1211

Modified:
   packages/trunk/vdrift/debian/vdrift-full.postrm
Log:
clean the data folder if vdrift-minial was removed first


Modified: packages/trunk/vdrift/debian/vdrift-full.postrm
===================================================================
--- packages/trunk/vdrift/debian/vdrift-full.postrm	2006-07-26 22:21:44 UTC (rev 1210)
+++ packages/trunk/vdrift/debian/vdrift-full.postrm	2006-07-26 22:24:16 UTC (rev 1211)
@@ -2,6 +2,11 @@
 
 CARSPATH="/usr/share/games/vdrift/cars"
 
+# purge the folder
+if [ ! -d /usr/share/games/vdrift/tracks/ ]; then
+ rm -Rf $CARSPATH
+fi
+
 if [ -d $CARSPATH ]; then
   /bin/ls $CARSPATH|grep -v txt > $CARSPATH'/car_list.txt'
 fi




More information about the Pkg-games-commits mailing list