Ignore:
Timestamp:
Jan 23, 2019, 11:10:07 PM (7 years ago)
Author:
obi
Message:

update sh4 tpk for oebuild

Location:
ipk/source.sh4/tools_lcdpearl1/CONTROL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst

    r24156 r43292  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
    44
    5 if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
    6         cd /tmp/stm24
    7 else
    8         cd /tmp/stm23
     5if [ -e /etc/.oebuild ];then
     6        opkg update
     7        opkg install titan-plugin-lcdpearl1 --dest $1
    98fi
    10 cp -RP lcdpearl1 "$INSTDIR/usr/local/share/titan/plugins"
    11 cd /tmp
    12 rm -rf stm24
    13 rm -rf stm23
    149
    1510exit 0
  • ipk/source.sh4/tools_lcdpearl1/CONTROL/postrm

    r24156 r43292  
    66rm -rf /var/etc/lcd4linux.conf
    77
     8if [ -e /etc/.oebuild ];then
     9        opkg remove titan-plugin-lcdpearl1 --dest $1
     10fi
     11
    812exit 0
Note: See TracChangeset for help on using the changeset viewer.