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

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

update lost files with install echo

  • Property svn:executable set to *
File size: 499 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/lcdpearl1"
8
9if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
10 cd /tmp/stm24
11else
12 cd /tmp/stm23
13fi
14
15cp -RP lcdpearl1 "$INSTDIR/usr/local/share/titan/plugins"
16cd /tmp
17rm -rf stm24
18rm -rf stm23
19
20if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
21 opkg update
22 opkg install titan-plugin-tools-lcdpearl1 --dest $1
23fi
24
25exit 0
Note: See TracBrowser for help on using the repository browser.