Changeset 23669 for ipk/source.sh4/tools_lcdpearl1
- Timestamp:
- Sep 12, 2013, 10:50:16 AM (13 years ago)
- Location:
- ipk/source.sh4/tools_lcdpearl1/CONTROL
- Files:
-
- 4 edited
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 -
ipk/source.sh4/tools_lcdpearl1/CONTROL/postrm
r23557 r23669 1 1 #!/bin/sh 2 TMP=/tmp/.TOOLS3 2 INSTDIR="$1" 4 PLUGINDIR= $INSTDIR/usr/local/share/titan/plugins/lcdpearl13 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1" 5 4 6 rm -rf $PLUGINDIR5 rm -rf "$PLUGINDIR" >/dev/null 2>&1 7 6 rm -rf /var/etc/lcd4linux.conf 8 rm -rf /var/usr/local/share/titan/plugins/lcdpearl1 7 8 if [ "/var" != "$INSTDIR" ]; then 9 rm -rf /var/usr/local/share/titan/plugins/lcdpearl1 10 fi 9 11 10 12 exit 0 -
ipk/source.sh4/tools_lcdpearl1/CONTROL/preinst
r23448 r23669 1 1 #!/bin/sh 2 #3 TMP=/tmp/.TOOLS4 2 INSTDIR="$1" 5 PLUGINDIR= $INSTDIR/usr/local/share/titan/plugins/lcdpearl13 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1" 6 4 7 rm -rf $PLUGINDIR5 rm -rf "$PLUGINDIR" 8 6 9 7 exit 0 -
ipk/source.sh4/tools_lcdpearl1/CONTROL/prerm
r23448 r23669 1 1 #!/bin/sh 2 TMP=/tmp/.TOOLS3 INSTDIR="$1"4 PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/lcdpearl15 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)