Changeset 23668 for ipk/source.sh4/tools_callmonitor
- Timestamp:
- Sep 12, 2013, 10:40:25 AM (13 years ago)
- Location:
- ipk/source.sh4/tools_callmonitor/CONTROL
- Files:
-
- 4 edited
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 -
ipk/source.sh4/tools_callmonitor/CONTROL/postrm
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 rm -rf $PLUGINDIR 7 rm -rf /var/usr/local/share/titan/plugins/callmonitor1 5 rm -rf "$PLUGINDIR" >/dev/null 2>&1 6 7 if [ "/var" != "$INSTDIR" ]; then 8 rm -rf /var/usr/local/share/titan/plugins/callmonitor1 9 fi 8 10 9 11 exit 0 -
ipk/source.sh4/tools_callmonitor/CONTROL/preinst
r23450 r23668 1 1 #!/bin/sh 2 #3 TMP=/tmp/.TOOLS4 2 INSTDIR="$1" 5 PLUGINDIR= $INSTDIR/usr/local/share/titan/plugins/callmonitor13 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1" 6 4 7 if [ -e $PLUGINDIR/callmon.conf]; then8 cp $PLUGINDIR/callmon.conf/tmp/callmon.conf5 if [ -e "$PLUGINDIR/callmon.conf" ]; then 6 cp "$PLUGINDIR/callmon.conf" /tmp/callmon.conf 9 7 fi 10 8 11 rm -rf $PLUGINDIR9 rm -rf "$PLUGINDIR" 12 10 13 11 exit 0 -
ipk/source.sh4/tools_callmonitor/CONTROL/prerm
r23450 r23668 1 1 #!/bin/sh 2 TMP=/tmp/.TOOLS3 INSTDIR="$1"4 PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/callmonitor15 2 6 3 exit 0
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)