source: ipk/source.arm/players_gmediarender/CONTROL/postinst @ 45018

Last change on this file since 45018 was 45018, checked in by obi, 3 years ago

tpk arm/mips add gmediarender

  • Property svn:executable set to *
File size: 406 bytes
Line 
1#!/bin/sh
2if [ -e /etc/.oebuild ];then
3        opkg update
4        opkg install titan-plugin-gmediarender --dest $1
5        opkg install titan-gmediarender
6else
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
16fi
17
18exit 0
Note: See TracBrowser for help on using the repository browser.