[Maemo] Readded the resources copy in the postinstall script

This commit is contained in:
Xawotihs
2011-01-06 22:07:28 +00:00
parent 98214db702
commit c3b926830a
2 changed files with 20 additions and 2 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ if grep -q /home/user/MyDocs /proc/mounts; then
dirSize=`du -s /home/user/wagic/Res | awk '{print $1}'`
# Size available on the FAT partition
avaSize=`df | grep /dev/mmcblk0p1 | awk '{print $4}'`
echo "$usedSize $dirSize $avaSize"
if [ $usedSize -lt 100 ]
then if [ $avaSize -gt $dirSize ]
then
@@ -20,5 +19,5 @@ if grep -q /home/user/MyDocs /proc/mounts; then
fi
fi
./wagic
/opt/wagic/wagic
exit 0