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

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

fix plugin permtime

  • Property svn:executable set to *
File size: 402 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
4
5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];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.