mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Revert "libretro-scummvm: allow build without wget using curl"
This reverts commit b7fc8f5b3e30a69145dd0f0d7aa879d5a5e9c376.
This commit is contained in:
parent
b86c7dea08
commit
88bc9ee7bf
@ -1,16 +0,0 @@
|
|||||||
--- a/backends/platform/libretro/scripts/bundle_datafiles.sh 2024-02-12 22:13:53.000000000 +0000
|
|
||||||
+++ b/backends/platform/libretro/scripts/bundle_datafiles.sh 2024-10-20 11:20:58.695910358 +0000
|
|
||||||
@@ -108,7 +108,12 @@
|
|
||||||
if [ ! $3 = "bundle" ]; then
|
|
||||||
|
|
||||||
# Update from libretro ScummVM.dat
|
|
||||||
-wget -NO "$BUILD_PATH"/ScummVM.dat https://raw.githubusercontent.com/libretro/libretro-database/master/dat/ScummVM.dat
|
|
||||||
+if command -v wget >/dev/null; then
|
|
||||||
+ wget -NO "$BUILD_PATH"/ScummVM.dat https://raw.githubusercontent.com/libretro/libretro-database/master/dat/ScummVM.dat
|
|
||||||
+else
|
|
||||||
+ # if wget is not available use curl
|
|
||||||
+ curl -f -o "$BUILD_PATH"/ScummVM.dat https://raw.githubusercontent.com/libretro/libretro-database/master/dat/ScummVM.dat
|
|
||||||
+fi
|
|
||||||
[ -f "$BUILD_PATH"/ScummVM.dat ] && SUPPORTED_EXTENSIONS="$(cat $BUILD_PATH/ScummVM.dat | grep 'rom (' | sed -e 's/\" .*//g' -e 's/.*\.//g' | sort -u | tr '\n' '|')" || SUPPORTED_EXTENSIONS="$ALLOWED_EXT"
|
|
||||||
|
|
||||||
# Create core.info file
|
|
Loading…
x
Reference in New Issue
Block a user