diff --git a/README b/README index df98d62cb..c919ab152 100644 --- 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 diff --git a/create-module.pl b/create-module.pl index 47758aa92..ec03b3153 100755 --- a/create-module.pl +++ b/create-module.pl @@ -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 7a29603c8..9bf49aecc 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.480 +1.485