Changeset 24038


Ignore:
Timestamp:
Oct 3, 2013, 11:53:04 AM (6 years ago)
Author:
nit
Message:

[titan] plugin dynamic path test

Location:
ipk/source.sh4/games_catcatch/CONTROL
Files:
2 edited

Legend:

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

    r23668 r24038  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/catcatch"
    4 
    5 if [ "/var" != "$INSTDIR" ]; then
    6         rm -rf /var/usr/local/share/titan/plugins/catcatch >/dev/null 2>&1
    7         ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/catcatch
    8 fi
    92
    103exit 0
  • ipk/source.sh4/games_catcatch/CONTROL/postrm

    r23668 r24038  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/catcatch"
    4 
    5 rm -rf "$PLUGINDIR" >/dev/null 2>&1
    6 
    7 if [ "/var" != "$INSTDIR" ]; then
    8         rm -rf /var/usr/local/share/titan/plugins/catcatch
    9 fi
    102
    113exit 0
Note: See TracChangeset for help on using the changeset viewer.