source:
ipk/source.sh4/titangames_catcatch/CONTROL/postinst
@
23368
Last change on this file since 23368 was 23368, checked in by , 11 years ago | |
---|---|
|
|
File size: 330 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | INSTDIR="$1" |
3 | |
4 | if [ "/var" != "$INSTDIR" ]; then |
5 | ln -sfn "$INSTDIR/usr/local/share/titan/plugins/dlna" /var/usr/local/share/titan/plugins/dlna |
6 | fi |
7 | |
8 | if [ "/var/swap" == "$INSTDIR" ]; then |
9 | echo "syncing disk" |
10 | sync |
11 | else |
12 | SPACE=`getfreespace "$INSTDIR"` |
13 | FREE=`expr $SPACE - 100` |
14 | echo new freespace size $FREE kb |
15 | fi |
16 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.