mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
Update Nummer 2
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@846 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -1099,7 +1099,7 @@ usr/lib/perl5/5.8.8/syslog.pl
|
||||
usr/lib/perl5/5.8.8/tainted.pl
|
||||
usr/lib/perl5/5.8.8/termcap.pl
|
||||
usr/lib/perl5/5.8.8/timelocal.pl
|
||||
usr/lib/perl5/5.8.8/unicore
|
||||
#usr/lib/perl5/5.8.8/unicore
|
||||
#usr/lib/perl5/5.8.8/unicore/ArabicShaping.txt
|
||||
#usr/lib/perl5/5.8.8/unicore/BidiMirroring.txt
|
||||
#usr/lib/perl5/5.8.8/unicore/Blocks.txt
|
||||
|
||||
6
config/rootfiles/core/2/files
Normal file
6
config/rootfiles/core/2/files
Normal file
@@ -0,0 +1,6 @@
|
||||
etc/init.d/networking/red
|
||||
etc/init.d/dhcp
|
||||
srv/web/ipfire/cgi-bin/pakfire.cgi
|
||||
opt/pakfire/lib/functions.pl
|
||||
usr/local/bin/syslogdctrl
|
||||
var/ipfire/graphs.pl
|
||||
3
config/rootfiles/core/2/meta
Normal file
3
config/rootfiles/core/2/meta
Normal file
@@ -0,0 +1,3 @@
|
||||
DEPS=""
|
||||
DESCDE=
|
||||
DESCEN=
|
||||
6
config/rootfiles/core/2/update.sh
Normal file
6
config/rootfiles/core/2/update.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
extract_files
|
||||
|
||||
reload_all
|
||||
@@ -186,8 +186,6 @@ END
|
||||
|
||||
&Header::openbox("100%", "center", "Pakfire");
|
||||
|
||||
system("pakfire update &>dev/null");
|
||||
|
||||
print <<END;
|
||||
<table width='100%'>
|
||||
<tr><td bgcolor='$color{'color20'}' align="center"><b>$Lang::tr{'pakfire available addons'}</b></td><td bgcolor='$color{'color20'}'></td><td bgcolor='$color{'color20'}' align="center"><b>$Lang::tr{'pakfire installed addons'}</b>
|
||||
|
||||
@@ -349,6 +349,21 @@ sub dblist {
|
||||
close(FILE);
|
||||
|
||||
if ("$filter" eq "upgrade") {
|
||||
getcoredb();
|
||||
eval(`grep "core_" $Conf::dbdir/lists/core-list.db`);
|
||||
if ("$core_release" gt "$Conf::core_mine") {
|
||||
if ("$forweb" eq "forweb") {
|
||||
print "<option value=\"core\">Core-Update -- $Conf::version -- Release: $Conf::core_mine -> $core_release</option>\n";
|
||||
} else {
|
||||
my $command = "Core-Update $Conf::version\nRelease: $Conf::core_mine -> $core_release\n";
|
||||
if ("$Pakfire::enable_colors" eq "1") {
|
||||
print "$color{'lila'}$command$color{'normal'}\n";
|
||||
} else {
|
||||
print "$command\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
opendir(DIR,"$Conf::dbdir/meta");
|
||||
my @files = readdir(DIR);
|
||||
closedir(DIR);
|
||||
|
||||
Reference in New Issue
Block a user