more package management tweaks

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1781 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-02-03 23:06:38 +00:00
parent 0cfc8f233a
commit 97289969f1
4 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Package: webif
Priority: optional
Section: web
Version: 1.0.8-1
Version: 1.0.8-2
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.8),mongoose(>=3.0-9),jim(>=0.74-4),jim-oo,jim-sqlite3(>=0.74-1),jim-cgi(>=0.7),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6)

View File

@ -37,7 +37,7 @@ if [ ! -f /mod/webif/.strip-updated ]; then
fi
/mod/webif/lib/bin/diskattrs
/mod/webif/lib/bin/resetnew
#/mod/webif/lib/bin/resetnew
[ -f $tmpf ] && rm -f $tmpf

View File

@ -6,16 +6,18 @@ source /mod/webif/lib/setup
require cat
puts "
<div id=sysnotify class=warningbox><center>
<div id=sysnotify class=warningbox style=\"width: 90%\"><center>
!! WARNING !!
<br><br>
You have pending system notifications:
<br><br>
</center>
<pre>
"
cat /mod/tmp/notify.log
puts {
</pre>
<center>
<button id=sysnotify_ack>Acknowledge</button>
</center></div>
<script type=text/javascript>

View File

@ -169,3 +169,11 @@ proc {pkg fetchdiagmeta} {} {
$ff close
}
proc {pkg update} {} {
exec /bin/opkg update
}
proc {pkg upgrade} {nm} {
exec /bin/opkg upgrade $nm
}