Ignore:
Timestamp:
Sep 12, 2013, 10:40:25 AM (13 years ago)
Author:
nit
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/tools_autotimer/CONTROL/postinst

    r23557 r23668  
    11#!/bin/sh
    2 TMP=/tmp/.infos
    3 INSTDIR="$1"
    4 PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/autotimer
     2INSTDIR="$1"
     3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/autotimer"
    54
    6 if [ $INSTDIR != "/var" ]; then
    7         ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/autotimer
     5if [ "/var" != "$INSTDIR" ]; then
     6        rm -rf /var/usr/local/share/titan/plugins/autotimer >/dev/null 2>&1
     7        ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/autotimer
    88fi
    99
Note: See TracChangeset for help on using the changeset viewer.