Last change
on this file since 45018 was
45018,
checked in by obi, 2 years ago
|
tpk arm/mips add gmediarender
|
-
Property svn:executable set to
*
|
File size:
406 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | if [ -e /etc/.oebuild ];then |
---|
3 | opkg update |
---|
4 | opkg install titan-plugin-gmediarender --dest $1 |
---|
5 | opkg install titan-gmediarender |
---|
6 | else |
---|
7 | INSTDIR="$1" |
---|
8 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/gmediarender" |
---|
9 | |
---|
10 | sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/run" |
---|
11 | |
---|
12 | if [ "/var" != "$INSTDIR" ]; then |
---|
13 | rm -rf /var/usr/lib/gstreamer-0.10 |
---|
14 | ln -s "$INSTDIR/lib/gstreamer-0.10" /var/usr/lib |
---|
15 | fi |
---|
16 | fi |
---|
17 | |
---|
18 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.