Changeset 45029 for ipk/source.sh4


Ignore:
Timestamp:
Dec 16, 2020, 6:20:08 PM (5 years ago)
Author:
obi
Message:

fix tpk callmonitor1 oebuild

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

Legend:

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

    r24155 r45029  
    11#!/bin/sh
     2
     3if [ -e /etc/.oebuild ];then
     4        opkg update
     5        opkg install titan-plugin-callmonitor1 --dest $1
     6fi
     7
    28INSTDIR="$1" 
    39PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
  • ipk/source.sh4/tools_callmonitor/CONTROL/postrm

    r24155 r45029  
    11#!/bin/sh
    2 INSTDIR="$1" 
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
    42
    5 rm -rf "$PLUGINDIR" >/dev/null 2>&1
     3if [ -e /etc/.oebuild ];then
     4        opkg remove titan-plugin-callmonitor1 --dest $1
     5else
     6        INSTDIR="$1" 
     7        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
     8
     9        rm -rf "$PLUGINDIR" >/dev/null 2>&1
     10fi
    611
    712exit 0
Note: See TracChangeset for help on using the changeset viewer.