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

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

fix

  • Property svn:executable set to *
File size: 410 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 ] || [ -e /etc/.ovbuild ];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.