%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.108 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/webmin/software/ |
Upload File : |
#!/usr/bin/perl
# Update ports snapshot
require './software-lib.pl';
&foreign_require("proc");
&ui_print_unbuffered_header(undef, $text{'ports_upgrade'}, "");
foreach my $cmd ("portsnap fetch",
"portsnap update || portsnap extract") {
print &text('ports_running', "<tt>$cmd</tt>"),"<br>\n";
print "<pre>";
($fh, $pid) = &proc::pty_process_exec($cmd);
while(<$fh>) {
print &html_escape($_);
}
close($fh);
print "</pre>";
last if ($?);
}
&ui_print_footer("?tab=update", $text{'index_return'});