Changeset 45000 for ipk/source.sh4/playersnp_hbbtv
- Timestamp:
- Dec 13, 2020, 8:52:56 PM (5 years ago)
- Location:
- ipk/source.sh4/playersnp_hbbtv/CONTROL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/playersnp_hbbtv/CONTROL/postinst
r24607 r45000 1 1 #!/bin/sh 2 INSTDIR="$1" 3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv" 2 if [ -e /etc/.oebuild ];then 3 opkg update 4 # opkg install titan-plugin-hbbtv --dest $1 5 opkg install webkit-hbbtv-plugin 6 else 7 INSTDIR="$1" 8 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv" 4 9 5 sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"10 sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run" 6 11 7 rm -rf /var/usr/lib/gstreamer-0.108 ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib12 rm -rf /var/usr/lib/gstreamer-0.10 13 ln -s "$INSTDIR/usr/local/share/titan/plugins/hbbtv/opera/gstreamer-0.10" /var/usr/lib 9 14 10 #model=`cat /etc/model`15 #model=`cat /etc/model` 11 16 12 #if [ "$model" = "ufs910" ];then 13 # if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then 14 # echo "umount /tmp (60mb)" 15 # umount /tmp 16 # rm -f /tmp/.tmp60mb 17 # fi 18 #fi 17 #if [ "$model" = "ufs910" ];then 18 # if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then 19 # echo "umount /tmp (60mb)" 20 # umount /tmp 21 # rm -f /tmp/.tmp60mb 22 # fi 23 #fi 24 fi 19 25 20 26 exit 0 -
ipk/source.sh4/playersnp_hbbtv/CONTROL/postrm
r24155 r45000 1 1 #!/bin/sh 2 INSTDIR="$1" 3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv" 2 if [ -e /etc/.oebuild ];then 3 # opkg remove titan-plugin-hbbtv --dest $1 4 opkg remove webkit-hbbtv-plugin 5 else 6 INSTDIR="$1" 7 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv" 4 8 5 rm -rf "$PLUGINDIR" >/dev/null 2>&1 6 rm -rf /var/usr/lib/gstreamer-0.10 9 rm -rf "$PLUGINDIR" >/dev/null 2>&1 10 rm -rf /var/usr/lib/gstreamer-0.10 11 fi 7 12 8 13 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)