source:
ipk/source.sh4/tools_callmonitor/CONTROL/postinst@
46249
| Last change on this file since 46249 was 46249, checked in by , 4 years ago | |
|---|---|
|
|
| File size: 417 bytes | |
| Rev | Line | |
|---|---|---|
| [13992] | 1 | #!/bin/sh |
| [45029] | 2 | |
| [46249] | 3 | if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then |
| [45029] | 4 | opkg update |
| [45958] | 5 | opkg install titan-plugin-tools-callmonitor1 --dest $1 |
| [45029] | 6 | fi |
| 7 | ||
| [23450] | 8 | INSTDIR="$1" |
| [23668] | 9 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1" |
| [15961] | 10 | |
| [45684] | 11 | if [ -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 |
| 15 | fi | |
| 16 | ||
| [45029] | 17 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)