source: ipk/source.sh4/tools_callmonitor/CONTROL/postinst@ 45958

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

fix tpks

  • Property svn:executable set to *
File size: 392 bytes
RevLine 
[13992]1#!/bin/sh
[45029]2
[45685]3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
[45029]4 opkg update
[45958]5 opkg install titan-plugin-tools-callmonitor1 --dest $1
[45029]6fi
7
[23450]8INSTDIR="$1"
[23668]9PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
[15961]10
[45684]11if [ -e /tmp/callmon.conf ]; then
[23668]12 mv "$PLUGINDIR/callmon.conf" "$PLUGINDIR/callmon.conf_org"
13 cp /tmp/callmon.conf "$PLUGINDIR/callmon.conf"
[18513]14 rm /tmp/callmon.conf
15fi
16
[45029]17exit 0
Note: See TracBrowser for help on using the repository browser.