source: ipk/source.sh4/playersnp_hbbtv/CONTROL/postinst

Last change on this file was 46274, checked in by obi, 3 years ago

update lost files with install echo

  • Property svn:executable set to *
File size: 717 bytes
Line 
1#!/bin/sh
2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
7 opkg update
8# opkg install titan-plugin-player-hbbtv --dest $1
9 opkg install webkit-hbbtv-plugin
10else
11 INSTDIR="$1"
12 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
13
14 sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
15
16 rm -rf /var/usr/lib/gstreamer-0.10
17 ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib
18
19 #model=`cat /etc/model`
20
21 #if [ "$model" = "ufs910" ];then
22 # if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
23 # echo "umount /tmp (60mb)"
24 # umount /tmp
25 # rm -f /tmp/.tmp60mb
26 # fi
27 #fi
28fi
29
30exit 0
Note: See TracBrowser for help on using the repository browser.