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

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

update lost files with install echo

  • Property svn:executable set to *
File size: 499 bytes
RevLine 
[13129]1#!/bin/sh
[46274]2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
[23448]6INSTDIR="$1"
[23669]7PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
[15907]8
[45684]9if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
[43293]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
[46249]20if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
[43292]21 opkg update
[45958]22 opkg install titan-plugin-tools-lcdpearl1 --dest $1
[15907]23fi
24
[43292]25exit 0
Note: See TracBrowser for help on using the repository browser.