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

Last change on this file since 45958 was 45958, checked in by obi, 4 years ago

fix tpks

  • Property svn:executable set to *
File size: 416 bytes
RevLine 
[13129]1#!/bin/sh
[23448]2INSTDIR="$1"
[23669]3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
[15907]4
[45684]5if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
[43293]6 cd /tmp/stm24
7else
8 cd /tmp/stm23
9fi
10
11cp -RP lcdpearl1 "$INSTDIR/usr/local/share/titan/plugins"
12cd /tmp
13rm -rf stm24
14rm -rf stm23
15
[45685]16if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
[43292]17 opkg update
[45958]18 opkg install titan-plugin-tools-lcdpearl1 --dest $1
[15907]19fi
20
[43292]21exit 0
Note: See TracBrowser for help on using the repository browser.