[SCM] Standalone 3D Game Maker and 3D Game Design program branch, master, updated. debian/2.7+dfsg-1-1-g95b306d
Scott Howard
showard at debian.org
Sun Oct 16 06:07:42 UTC 2011
The following commit has been merged in the master branch:
commit 95b306d56154936c6a00afd08831c28c9a8d626f
Author: Scott Howard <showard at debian.org>
Date: Sun Oct 16 01:11:14 2011 -0400
Fixed postinst to not install files with ??? in names
diff --git a/debian/changelog b/debian/changelog
index eb82d48..5e7615b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sandboxgamemaker (2.7+dfsg-2) unstable; urgency=low
+
+ * Fixed postinst to not install files with ??? in names
+
+ -- Scott Howard <showard at debian.org> Sun, 16 Oct 2011 01:10:25 -0400
+
sandboxgamemaker (2.7+dfsg-1) experimental; urgency=low
* New upstream release.
diff --git a/debian/postinst b/debian/postinst
index 98b79e0..fccebc4 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -38,7 +38,7 @@ case "$1" in
cd /var/cache/sandboxgamemaker
# use retry mode to recover failed downloads
wget -c http://sandboxgamemaker.com/sandbox/"$PASver"Multiplatform.zip
- if ! unzip -q "$PASver"Multiplatform.zip
+ if ! unzip -q "$PASver"Multiplatform.zip -x */Creative*.html #Creative*.html because upstream has wierd ??? in file names
then
# unzip failed. remove bad archive so can retry
# download from the beginning at next invocation
@@ -48,7 +48,7 @@ case "$1" in
echo "Download corrupted or data copying failed."
echo "Make sure you have enough disk space. Download will restart"
echo "the next time dpkg --configure -a is run."
- rm "$PASver"Multiplatform.zip
+ rm -rf "$PASver" "$PASver"Multiplatform.zip
exit 1
fi
[ ! -d /usr/share/sandboxgamemaker ] && mkdir /usr/share/sandboxgamemaker
--
Standalone 3D Game Maker and 3D Game Design program
More information about the Pkg-games-commits
mailing list