Changeset 23668 for ipk/source.sh4/tools_callmonitor/CONTROL/postinst
- Timestamp:
- Sep 12, 2013, 10:40:25 AM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/tools_callmonitor/CONTROL/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/tools_callmonitor/CONTROL/postinst
r23551 r23668 1 1 #!/bin/sh 2 TMP=/tmp/.TOOLS3 2 INSTDIR="$1" 4 PLUGINDIR= $INSTDIR/usr/local/share/titan/plugins/callmonitor13 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1" 5 4 6 5 if [ $INSTDIR != "/var" ]; then 7 ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/callmonitor1 6 rm -rf /var/usr/local/share/titan/plugins/callmonitor1 >/dev/null 2>&1 7 ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/callmonitor1 8 8 fi 9 9 10 10 if [ -e /tmp/callmon.conf ]; then 11 mv $PLUGINDIR/callmon.conf $PLUGINDIR/callmon.conf_org12 cp /tmp/callmon.conf $PLUGINDIR/callmon.conf11 mv "$PLUGINDIR/callmon.conf" "$PLUGINDIR/callmon.conf_org" 12 cp /tmp/callmon.conf "$PLUGINDIR/callmon.conf" 13 13 rm /tmp/callmon.conf 14 14 fi
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)