From 24692c4e6055254c982281c0dd90a2f257985470 Mon Sep 17 00:00:00 2001 From: gc Date: Sun, 24 Feb 2008 22:45:30 +0000 Subject: [PATCH] *** empty log message *** --- bin/booh-backend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/booh-backend b/bin/booh-backend index 1412c84..6b0e6d0 100755 --- a/bin/booh-backend +++ b/bin/booh-backend @@ -807,7 +807,7 @@ def walk_source_dir } to_del = Dir.entries(dest_dir).find_all { |e| !File.directory?(File.join(dest_dir, e)) && !rightful_images.include?(e) } - themestuff - themestuff_root if to_del.size > 0 - File.delete(to_del.collect { |e| File.join(dest_dir, e) }) + File.delete(*to_del.collect { |e| File.join(dest_dir, e) }) end end @@ -937,7 +937,7 @@ def walk_source_dir to_del = Dir.entries(dest_dir).find_all { |e| !File.directory?(File.join(dest_dir, e)) && !all_elements.include?(e) && e !~ /^thumbnails-\w+\.jpg/ } - themestuff - themestuff_root if to_del.size > 0 msg 3, _("\tcleaning up: #{to_del.join(', ')}") - File.delete(to_del.collect { |e| File.join(dest_dir, e) }) + File.delete(*to_del.collect { |e| File.join(dest_dir, e) }) end #- copy any resource file that goes with the theme (css, images..) -- 2.30.4