diff --git a/CONTROL/control b/CONTROL/control index 0013cfb..e15c3c6 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,10 +1,10 @@ Package: webif Priority: optional Section: web -Version: 1.0.12-1 +Version: 1.0.12-3 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.1.10),mongoose(>=3.0.11),jim(>=0.75-1),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),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.08),ffmpeg,id3v2,multienv(>=1.6) +Depends: webif-channelicons(>=1.1.11),mongoose(>=3.0.11),jim(>=0.75-1),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),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-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6) Conflicts: tvdiary(<0.0.2-6) Suggests: Description: An evolving web interface for the Humax. diff --git a/CONTROL/postinst b/CONTROL/postinst index a171822..22107c9 100755 --- a/CONTROL/postinst +++ b/CONTROL/postinst @@ -1,6 +1,16 @@ #!/bin/sh -echo "Postinstall $*" +# Relocate any stray files in /mod/var/mongoose + +if [ -d /mod/var/mongoose -a ! -h /mod/var/mongoose ]; then + ( + cd /mod/var/mongoose + find . | cpio -pmud /mod/webif + cd /mod/var + rm -rf mongoose + ln -s ../webif mongoose + ) +fi export tmpf=/tmp/cronf.$$