|
Last change
on this file was 46274, checked in by obi, 4 years ago |
|
update lost files with install echo
|
-
Property svn:executable
set to
*
|
|
File size:
717 bytes
|
| Rev | Line | |
|---|
| [17595] | 1 | #!/bin/sh
|
|---|
| [46274] | 2 |
|
|---|
| 3 | echo Use Install Dest: $1
|
|---|
| 4 | echo Start Install Script: $0
|
|---|
| 5 |
|
|---|
| [46249] | 6 | if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
|
|---|
| [45000] | 7 | opkg update
|
|---|
| [45958] | 8 | # opkg install titan-plugin-player-hbbtv --dest $1
|
|---|
| [45000] | 9 | opkg install webkit-hbbtv-plugin
|
|---|
| 10 | else
|
|---|
| 11 | INSTDIR="$1"
|
|---|
| 12 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/hbbtv"
|
|---|
| [17595] | 13 |
|
|---|
| [45000] | 14 | sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/opera/run"
|
|---|
| [23733] | 15 |
|
|---|
| [45000] | 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
|
|---|
| [17595] | 18 |
|
|---|
| [45000] | 19 | #model=`cat /etc/model`
|
|---|
| [23955] | 20 |
|
|---|
| [45684] | 21 | #if [ "$model" = "ufs910" ];then
|
|---|
| 22 | # if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
|
|---|
| [45000] | 23 | # echo "umount /tmp (60mb)"
|
|---|
| 24 | # umount /tmp
|
|---|
| 25 | # rm -f /tmp/.tmp60mb
|
|---|
| 26 | # fi
|
|---|
| 27 | #fi
|
|---|
| 28 | fi
|
|---|
| [23955] | 29 |
|
|---|
| [45000] | 30 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.