fetch and include MIDI bundled content during packaging of Ardour

This commit is contained in:
Paul Davis 2022-10-04 11:01:54 -06:00
parent b40179854a
commit bbe68542e8
3 changed files with 37 additions and 0 deletions

View file

@ -741,6 +741,18 @@ if test -n "$MIXBUS"; then
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled content"
curl -s -S --fail -# \
-z "${CACHEDIR}/ArdourBundledMedia.zip" \
-o "${CACHEDIR}/ArdourBundledMedia.zip" \
"http://ardour.org/loops/ArdourBundledMedia.zip"
if test -f "${CACHEDIR}/MixbusBundledMedia.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"