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 shop card display problem when using touch interface
|
||||
-- Xawotihs <xawotihs@gmail.com> Mon, 16 Apr 2011 14:11:42 +0200
|
||||
* Fixed Phonon sound problem
|
||||
* Improved upgrade script
|
||||
* 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
|
||||
Priority: extra
|
||||
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
|
||||
Homepage: http://wololo.net/wagic/
|
||||
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}'`
|
||||
# Size available on the FAT partition
|
||||
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 ];
|
||||
then if [ $avaSize -gt $dirSize ]
|
||||
then
|
||||
echo "Copying resources on the FAT partition to ease customization"
|
||||
if [ $avaSize -gt $dirSize ] ; then
|
||||
if ! [ -e /home/user/MyDocs/wagic/Res/sets/primitives/mtg.txt ]; then
|
||||
echo "Copying resources on the FAT partition because no file present on FAT partition"
|
||||
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
|
||||
else
|
||||
echo "Not enough space on FAT partition"
|
||||
fi
|
||||
fi
|
||||
|
||||
/opt/wagic/wagic
|
||||
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}'`
|
||||
# Size available on the FAT partition
|
||||
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 ];
|
||||
then if [ $avaSize -gt $dirSize ]
|
||||
then
|
||||
echo "Copying resources on the FAT partition to ease customization"
|
||||
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
||||
fi
|
||||
if [ $avaSize -gt $dirSize ] ; then
|
||||
echo "Copying resources on the FAT partition"
|
||||
cp -rf /home/user/wagic/Res/* /home/user/MyDocs/wagic/Res
|
||||
else
|
||||
echo "Not enough space on FAT partition"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user