Last change
on this file since 46274 was
46274,
checked in by obi, 18 months ago
|
update lost files with install echo
|
-
Property svn:executable set to
*
|
File size:
520 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | echo Use Install Dest: $1 |
---|
4 | echo Start Install Script: $0 |
---|
5 | |
---|
6 | if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then |
---|
7 | opkg update |
---|
8 | opkg install titan-plugin-player-gmediarender --dest $1 |
---|
9 | opkg install titan-gmediarender |
---|
10 | else |
---|
11 | INSTDIR="$1" |
---|
12 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/gmediarender" |
---|
13 | |
---|
14 | sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/run" |
---|
15 | |
---|
16 | if [ "/var" != "$INSTDIR" ]; then |
---|
17 | rm -rf /var/usr/lib/gstreamer-0.10 |
---|
18 | ln -s "$INSTDIR/lib/gstreamer-0.10" /var/usr/lib |
---|
19 | fi |
---|
20 | fi |
---|
21 | |
---|
22 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.