Improved maemo upgrade scripts and added 0.16.0 maemo release description
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
wagic (0.15.1maemo1) unstable; urgency=low
|
wagic (0.16.0maemo0) unstable; urgency=low
|
||||||
|
|
||||||
* Fixed upgrade problem causing the multi-land per turn bug
|
* Fixed Phonon sound problem
|
||||||
* Fixed shop card display problem when using touch interface
|
* Improved upgrade script
|
||||||
-- Xawotihs <xawotihs@gmail.com> Mon, 16 Apr 2011 14:11:42 +0200
|
* Wagic 0.16.0
|
||||||
|
-- Xawotihs <xawotihs@gmail.com> Mon, 18 Jul 2011 14:11:42 +0200
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Source: wagic
|
|||||||
Section: user/games
|
Section: user/games
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: xawotihs <xawotihs@gmail.com>
|
Maintainer: xawotihs <xawotihs@gmail.com>
|
||||||
Build-Depends: debhelper (>= 5), libqt4-dev, zlib1g-dev, libx11-dev, mce-dev, libgif-dev, libjpeg62-dev, libpng12-dev,
|
Build-Depends: debhelper (>= 5), libqt4-dev, zlib1g-dev, libx11-dev, mce-dev
|
||||||
Standards-Version: 3.7.3
|
Standards-Version: 3.7.3
|
||||||
Homepage: http://wololo.net/wagic/
|
Homepage: http://wololo.net/wagic/
|
||||||
XSBC-Bugtracker: http://code.google.com/p/wagic/issues/list
|
XSBC-Bugtracker: http://code.google.com/p/wagic/issues/list
|
||||||
|
|||||||
@@ -8,14 +8,21 @@ if grep -q /home/user/MyDocs /proc/mounts; then
|
|||||||
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 [ /home/user/wagic/Res/sets/primitives/mtg.txt -nt /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ];
|
if [ $avaSize -gt $dirSize ] ; then
|
||||||
then if [ $avaSize -gt $dirSize ]
|
if ! [ -e /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ]; then
|
||||||
then
|
echo "Copying resources on the FAT partition because no file present on FAT partition"
|
||||||
echo "Copying resources on the FAT partition to ease customization"
|
|
||||||
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
||||||
|
elif [ /home/user/wagic/Res/sets/primitives/mtg.txt -nt /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ]; then
|
||||||
|
echo "Copying resources on the FAT partition because files present on FAT partition are older"
|
||||||
|
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
||||||
|
else
|
||||||
|
echo "Files already up to date"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "Not enough space on FAT partition"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/opt/wagic/wagic
|
/opt/wagic/wagic
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,11 @@ if grep -q /home/user/MyDocs /proc/mounts; then
|
|||||||
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 [ /home/user/wagic/Res/sets/primitives/mtg.txt -nt /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ];
|
if [ $avaSize -gt $dirSize ] ; then
|
||||||
then if [ $avaSize -gt $dirSize ]
|
echo "Copying resources on the FAT partition"
|
||||||
then
|
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
||||||
echo "Copying resources on the FAT partition to ease customization"
|
else
|
||||||
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
echo "Not enough space on FAT partition"
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user