Fixed issue 630
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
wagic (0.15.1maemo0) unstable; urgency=low
|
wagic (0.15.1maemo1) unstable; urgency=low
|
||||||
|
|
||||||
* Added touch support in settings
|
* Fixed upgrade problem causing the multi-land per turn bug
|
||||||
* wagic 0.15.1
|
* Fixed shop card display problem when using touch interface
|
||||||
-- Xawotihs <xawotihs@gmail.com> Mon, 11 Apr 2011 14:11:42 +0200
|
-- Xawotihs <xawotihs@gmail.com> Mon, 16 Apr 2011 14:11:42 +0200
|
||||||
|
|||||||
@@ -4,13 +4,11 @@ if grep -q /home/user/MyDocs /proc/mounts; then
|
|||||||
# FAT partition mounted
|
# FAT partition mounted
|
||||||
mkdir -p /home/user/MyDocs/wagic
|
mkdir -p /home/user/MyDocs/wagic
|
||||||
mkdir -p /home/user/MyDocs/wagic/Res
|
mkdir -p /home/user/MyDocs/wagic/Res
|
||||||
# Size used on the FAT partition
|
|
||||||
usedSize=`du -s /home/user/MyDocs/wagic/Res | awk '{print $1}'`
|
|
||||||
# Size needed on the FAT partition
|
# Size needed on the FAT partition
|
||||||
dirSize=`du -s /home/user/wagic/Res | awk '{print $1}'`
|
dirSize=`du -s /home/user/wagic/Res | awk '{print $1}'`
|
||||||
# Size available on the FAT partition
|
# Size available on the FAT partition
|
||||||
avaSize=`df | grep /dev/mmcblk0p1 | awk '{print $4}'`
|
avaSize=`df | grep /dev/mmcblk0p1 | awk '{print $4}'`
|
||||||
if [ $usedSize -lt 100 ]
|
if [ /home/user/wagic/Res/sets/primitives/mtg.txt -nt /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ];
|
||||||
then if [ $avaSize -gt $dirSize ]
|
then if [ $avaSize -gt $dirSize ]
|
||||||
then
|
then
|
||||||
echo "Copying resources on the FAT partition to ease customization"
|
echo "Copying resources on the FAT partition to ease customization"
|
||||||
|
|||||||
@@ -7,13 +7,11 @@ if grep -q /home/user/MyDocs /proc/mounts; then
|
|||||||
# FAT partition mounted
|
# FAT partition mounted
|
||||||
mkdir -p /home/user/MyDocs/wagic
|
mkdir -p /home/user/MyDocs/wagic
|
||||||
mkdir -p /home/user/MyDocs/wagic/Res
|
mkdir -p /home/user/MyDocs/wagic/Res
|
||||||
# Size used on the FAT partition
|
|
||||||
usedSize=`du -s /home/user/MyDocs/wagic/Res | awk '{print $1}'`
|
|
||||||
# Size needed on the FAT partition
|
# Size needed on the FAT partition
|
||||||
dirSize=`du -s /home/user/wagic/Res | awk '{print $1}'`
|
dirSize=`du -s /home/user/wagic/Res | awk '{print $1}'`
|
||||||
# Size available on the FAT partition
|
# Size available on the FAT partition
|
||||||
avaSize=`df | grep /dev/mmcblk0p1 | awk '{print $4}'`
|
avaSize=`df | grep /dev/mmcblk0p1 | awk '{print $4}'`
|
||||||
if [ $usedSize -lt 100 ]
|
if [ /home/user/wagic/Res/sets/primitives/mtg.txt -nt /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ];
|
||||||
then if [ $avaSize -gt $dirSize ]
|
then if [ $avaSize -gt $dirSize ]
|
||||||
then
|
then
|
||||||
echo "Copying resources on the FAT partition to ease customization"
|
echo "Copying resources on the FAT partition to ease customization"
|
||||||
|
|||||||
Reference in New Issue
Block a user