|
Last change
on this file since 45685 was 45685, checked in by obi, 4 years ago |
|
fix
|
-
Property svn:executable
set to
*
|
|
File size:
627 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];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"
|
|---|
| 9 |
|
|---|
| 10 | sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
|
|---|
| 11 |
|
|---|
| 12 | 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
|
|---|
| 14 |
|
|---|
| 15 | #model=`cat /etc/model`
|
|---|
| 16 |
|
|---|
| 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
|
|---|
| 25 |
|
|---|
| 26 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.