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

Last change on this file since 23557 was 23557, checked in by gost, 13 years ago

[plugins] fix

  • Property svn:executable set to *
File size: 397 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.TOOLS
3INSTDIR="$1"
4PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/lcdpearl1
5
6if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
7 cd /tmp/stm24
8else
9 cd /tmp/stm23
10fi
11cp -RP lcdpearl1 $INSTDIR/usr/local/share/titan/plugins
12cd /tmp
13rm -rf stm24
14rm -rf stm23
15
16if [ $INSTDIR != "/var" ]; then
17 ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/lcdpearl1
18fi
19
20exit 0
Note: See TracBrowser for help on using the repository browser.