mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
forgotten files
This commit is contained in:
2
README
2
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user