diff --git a/Resources/downloadpak.sh b/Resources/downloadpak.sh index e180c37f..8bb46a1f 100755 --- a/Resources/downloadpak.sh +++ b/Resources/downloadpak.sh @@ -27,8 +27,13 @@ OUTPUT_DIR="." if [ -f "$PAK_NAME" ]; then exit 0 fi +# TODO: Check if the extracted files are present and up-to-date (#988) -wget "$PAK_URL" -O "$PAK_NAME" +if [ -n "$OPENSPADES_DEVPAK_PATH" ]; then + cp "$OPENSPADES_DEVPAK_PATH" "$PAK_NAME" +else + wget "$PAK_URL" -O "$PAK_NAME" +fi unzip -o "$PAK_NAME" -d "$OUTPUT_DIR" # relocate paks to the proper location