git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@963 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2012-04-27 19:17:31 +00:00
parent 6d95ee89a4
commit df72a42abf
2 changed files with 11 additions and 3 deletions
CONTROL
var/mongoose/cgi-bin/backup

@ -1,9 +1,9 @@
Package: webif Package: webif
Priority: optional Priority: optional
Section: web Section: web
Version: 0.9.6-5 Version: 0.9.7
Architecture: mipsel Architecture: mipsel
Maintainer: af123@hummypkg.org.uk Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons,mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.1),webif-charts Depends: webif-channelicons(>=1.0.1),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts
Suggests: ffmpeg,webif-iphone Suggests: ffmpeg,webif-iphone
Description: An evolving web interface for the Humax. Description: An evolving web interface for the Humax.

@ -92,6 +92,14 @@ puts "Restoring favourite channels..."
$rsvdb query {begin transaction;} $rsvdb query {begin transaction;}
$rsvdb query {delete from channel.TBL_FAV} $rsvdb query {delete from channel.TBL_FAV}
$rsvdb query {drop table if exists pending.fav}
$rsvdb query {create table pending.fav (
favIdx integer primary key autoincrement unique,
hSvc integer(4),
eFavGroup integer(4),
[eSvcType] integer(4)
)}
set grp 0 set grp 0
foreach line $data { foreach line $data {
set vals [split $line "\t"] set vals [split $line "\t"]
@ -115,7 +123,7 @@ foreach line $data {
} }
set query " set query "
insert into channel.TBL_FAV(hSvc, eFavGroup, eSvcType) insert into pending.fav(hSvc, eFavGroup, eSvcType)
values($hsvc, $group, $type); values($hsvc, $group, $type);
" "