source: ipk/source.mipsel/players_gmediarender/CONTROL/postinst @ 46274

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
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6if [ ! -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
10else
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
20fi
21
22exit 0
Note: See TracBrowser for help on using the repository browser.