Changeset 23669 for ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst
- Timestamp:
- Sep 12, 2013, 10:50:16 AM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst
r23557 r23669 1 1 #!/bin/sh 2 TMP=/tmp/.TOOLS3 2 INSTDIR="$1" 4 PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/lcdpearl1 3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1" 4 5 if [ $INSTDIR != "/var" ]; then 6 rm -rf /var/usr/local/share/titan/plugins/lcdpearl1 >/dev/null 2>&1 7 ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/lcdpearl1 8 fi 5 9 6 10 if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then … … 9 13 cd /tmp/stm23 10 14 fi 11 cp -RP lcdpearl1 $INSTDIR/usr/local/share/titan/plugins15 cp -RP lcdpearl1 "$INSTDIR/usr/local/share/titan/plugins" 12 16 cd /tmp 13 17 rm -rf stm24 14 18 rm -rf stm23 15 19 16 if [ $INSTDIR != "/var" ]; then17 ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/lcdpearl118 fi19 20 20 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)