slackbuilds_ponce/games/openspades/downloader.patch
Dimitris Zlatanidis 06b02a14c2 games/openspades: Updated for version 0.1.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2017-02-04 07:00:14 +07:00

18 lines
482 B
Diff

--- openspades-0.1.0/Resources/downloadpak.orig.sh 2017-01-29 09:46:23.949368286 +0200
+++ openspades-0.1.0/Resources/downloadpak.sh 2017-01-29 09:47:17.585697740 +0200
@@ -24,11 +24,11 @@
PAK_NAME=$(basename "$PAK_URL")
OUTPUT_DIR="."
-if [ -f "$PAK_NAME" ]; then
- exit 0
-fi
+# if [ -f "$PAK_NAME" ]; then
+# exit 0
+# fi
-wget "$PAK_URL" -O "$PAK_NAME"
+# wget "$PAK_URL" -O "$PAK_NAME"
unzip -u -o "$PAK_NAME" -d "$OUTPUT_DIR"
# relocate paks to the proper location