Package: igal
Version: 1.4-9
Severity: wishlist
igal should allow creating galleries with only one image. The following
patch solves the problem:
--- igal.orig 2004-07-28 11:09:10.000000000 +0200
+++ igal 2005-09-07 12:52:29.519816784 +0200
@@ -260,7 +260,7 @@
if (! -r "$opt_d/$captionfile") {
# create $captionfile file if it doesn't exist
print "Found $nfiles image files in ".($opt_d eq "."?"current
directory":"directory $opt_d")."\n";
- die "Please select more files for your slide show!\n" if
($nfiles <= 1);
+ die "Please select more files for your slide show!\n" if
($nfiles < 1);
open(CAP,">$opt_d/$captionfile") or die "Can't create
$opt_d/$captionfile file\n";
print "Creating the $captionfile file...\n";
print CAP "# This is igal's $captionfile file, first generated
", scalar localtime, ".\n";
@@ -299,7 +299,7 @@
} else {
print "Found $nfiles image files in directory $opt_d\n";
}
-die "Please select more files for your slide show!\n" if ($nfiles <= 1);
+die "Please select more files for your slide show!\n" if ($nfiles < 1);
# find out if the imagemagick commands exist
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-5-686
Locale: LANG=C, LC_CTYPE=it_IT (charmap=ISO-8859-1)
Versions of packages igal depends on:
ii imagemagick 6:6.0.6.2-2.1ubuntu1.1 Image manipulation programs
ii libimage-size-per 2.992-1 determine the size of images in se
ii perl 5.8.4-6ubuntu1 Larry Wall's Practical Extraction
-- no debconf information
--
Massimo Dal Zotto <[EMAIL PROTECTED]>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]