*** empty log message ***
authorgc <gc>
Mon, 1 Aug 2005 20:15:58 +0000 (20:15 +0000)
committergc <gc>
Mon, 1 Aug 2005 20:15:58 +0000 (20:15 +0000)
bin/booh

index f4627016a3c66a15448824459bf65a1bd7bb4333..6a8dd2ad6c67d8b73909b405296e990a7b431d16 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -2386,7 +2386,7 @@ def new_album
                 elsif File.directory?(destdir) && Dir.entries(destdir).size > 2
                     keepon = !show_popup(dialog, utf8(_("The destination directory already exists. Are you sure you want to continue?")), { :okcancel => true })
                     dest.grab_focus
-                elsif File.exists?(destdir)
+                elsif File.exists?(destdir) && !File.directory?(destdir)
                     show_popup(dialog, utf8(_("There is already a file by the name of the destination directory. Please choose another one.")))
                     dest.grab_focus
                 elsif !theme_sizes.detect { |e| e[:value] != 'original' && e[:widget].active? }