13
0

add code to linux packaging to download bundled content

This commit is contained in:
Paul Davis 2022-08-30 23:30:35 -06:00
parent 678ed40bd3
commit 7b855f0cc5

View File

@ -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"