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

Last change on this file since 43293 was 43293, checked in by obi, 8 months ago

fix merge

  • Property svn:executable set to *
File size: 386 bytes
Line 
1#!/bin/sh
2INSTDIR="$1" 
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1" 
4
5if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then 
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
16if [ -e /etc/.oebuild ];then
17        opkg update
18        opkg install titan-plugin-lcdpearl1 --dest $1
19fi
20
21exit 0
Note: See TracBrowser for help on using the repository browser.