Changeset 45029


Ignore:
Timestamp:
12/16/20 18:20:08 (2 years ago)
Author:
obi
Message:

fix tpk callmonitor1 oebuild

Location:
ipk
Files:
6 edited

Legend:

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

    r39499 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.arm/tools_callmonitor/CONTROL/postrm

    r39499 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
  • ipk/source.mipsel/tools_callmonitor/CONTROL/postinst

    r28064 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.mipsel/tools_callmonitor/CONTROL/postrm

    r28064 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
  • 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.