forgotten files
authorJamie Cameron <jcameron@webmin.com>
Mon, 20 Jul 2009 18:56:26 +0000 (18:56 +0000)
committerJamie Cameron <jcameron@webmin.com>
Mon, 20 Jul 2009 18:56:26 +0000 (18:56 +0000)
README
create-module.pl
version

diff --git a/README b/README
index df98d62..c919ab1 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Webmin Version 1.480
+Webmin Version 1.485
 --------------------
 Webmin is a web-based interface for system administration for Unix. 
 Using any browser that supports tables and forms, you can setup user
index 47758aa..ec03b31 100755 (executable)
@@ -8,9 +8,18 @@
 chop($pwd = `pwd`);
 
 # Parse command-line options
-if ($ARGV[0] eq "--dir") {
-       shift(@ARGV);
-       $forcedir = shift(@ARGV);
+while(@ARGV) {
+       if ($ARGV[0] eq "--dir") {
+               shift(@ARGV);
+               $forcedir = shift(@ARGV);
+               }
+       elsif ($ARGV[0] eq "--sign") {
+               shift(@ARGV);
+               $createsig = 1;
+               }
+       else {
+               last;
+               }
        }
 
 $file = shift(@ARGV);
@@ -68,6 +77,10 @@ if ($file =~ /^(.*)\.gz$/i) {
        system("gzip -c $1 >$file");
        unlink("$1");
        }
+if ($createsig) {
+       system("rm -f $file-sig.asc");
+       system("gpg --armor --output $file-sig.asc --detach-sig $file");
+       }
 
 # read_file(file, &assoc, [&order], [lowercase])
 # Fill an associative array with name=value pairs from a file
diff --git a/version b/version
index 7a29603..9bf49ae 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-1.480
+1.485