From 7b855f0cc58707089757581216508907d1a70d12 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 30 Aug 2022 23:30:35 -0600 Subject: [PATCH] add code to linux packaging to download bundled content --- tools/linux_packaging/build | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index b8113731fe..ac6ffa7465 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -741,6 +741,18 @@ if test -n "$MIXBUS"; then rm -f "${MediaClips}/"*.* unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip" fi +else + # Ardour Bundled Media Content + curl -s -S --fail -# \ + -z "${CACHEDIR}/ArdourBundledMedia.zip" \ + -o "${CACHEDIR}/ArdourBundledMedia.zip" \ + "https://ardour.org/files/ArdourBundledMedia.zip" + + if test -f "${CACHEDIR}/ArdourBundledMedia.zip"; then + echo "Adding Ardour Bundled Content" + rm -f "${MediaClips}/"*.* + unzip -q -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip" + fi fi echo "Setting Bundled Media dir/file permissions"