source: ipk/source.sh4/tools_wlandisplay/CONTROL/postinst

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

update lost files with install echo

File size: 477 bytes
Line 
1#!/bin/sh
2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6INSTDIR="$1"
7PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/wlandisplay"
8
9if [ -e /tmp/skin.xml_sam ]; then
10 mv "$PLUGINDIR/skin.xml" "$PLUGINDIR/skin.xml_org"
11 cp /tmp/skin.xml_sam "$PLUGINDIR/skin.xml"
12 rm /tmp/skin.xml_sam >/dev/null 2>&1
13fi
14
15if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
16 opkg update
17 opkg install titan-plugin-tools-wlandisplay --dest $1
18fi
19
20exit 0
Note: See TracBrowser for help on using the repository browser.