mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
16 lines
392 B
Perl
Executable File
16 lines
392 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Just redirect to either the software module or update page
|
|
|
|
require './package-updates-lib.pl';
|
|
&ReadParse();
|
|
|
|
if ($in{'software'}) {
|
|
&redirect("../software/edit_pack.cgi?package=".&urlize($in{'name'}).
|
|
"&version=".&urlize($in{'version'}));
|
|
}
|
|
else {
|
|
&redirect("update.cgi?u=".&urlize($in{'name'}."/".$in{'system'}).
|
|
"&all=$in{'all'}&mode=$in{'mode'}");
|
|
}
|
|
|