vfmg: vfmg - don't delete icons directory in DR17

sparky sparky at pld-linux.org
Fri Apr 21 11:47:33 CEST 2006


Author: sparky                       Date: Fri Apr 21 09:47:33 2006 GMT
Module: vfmg                          Tag: HEAD
---- Log message:
- don't delete icons directory in DR17

---- Files affected:
vfmg:
   vfmg (1.92 -> 1.93) 

---- Diffs:

================================================================
Index: vfmg/vfmg
diff -u vfmg/vfmg:1.92 vfmg/vfmg:1.93
--- vfmg/vfmg:1.92	Thu Apr 20 20:08:05 2006
+++ vfmg/vfmg	Fri Apr 21 11:47:27 2006
@@ -1443,7 +1443,7 @@
 binmode STDOUT, ":encoding($opt{encoding})";
 
 if ($opt{icons_scale}) {
-	if (not -d $opt{icons_dir} or $opt{full_regen}) {
+	if (not -d $opt{icons_dir} or ($opt{full_regen} and $o_output ne "DR17")) {
 		warn "Nead to generate all icons.\n";
 		require File::Path;
 		import File::Path qw(mkpath rmtree);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/vfmg/vfmg?r1=1.92&r2=1.93&f=u



More information about the pld-cvs-commit mailing list