Changeset 23623 for ipk/source.sh4/players_mc/CONTROL/postinst
- Timestamp:
- Sep 10, 2013, 3:52:26 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/players_mc/CONTROL/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/players_mc/CONTROL/postinst
r13925 r23623 1 1 #!/bin/sh 2 TMP=/tmp/.tmp 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 2 INSTDIR="$1" 3 4 if [ "/var" != "$INSTDIR" ]; then 5 ln -sfn "$INSTDIR/usr/local/share/titan/plugins/mc" /var/usr/local/share/titan/plugins/mc 11 6 fi 12 7 13 echo "Please use GUI restart !!!!"14 15 8 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)