forgotten files

This commit is contained in:
Jamie Cameron
2009-07-20 18:56:26 +00:00
parent 98131232af
commit ed3bd3764f
3 changed files with 18 additions and 5 deletions

2
README
View File

@@ -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

View File

@@ -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

View File

@@ -1 +1 @@
1.480
1.485