Fix bundling 3rd party content with windows binaries

This commit is contained in:
Robin Gareus 2022-03-01 04:14:20 +01:00
parent 07cf40c734
commit 1c100152cd
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -359,18 +359,18 @@ if test -n "$MIXBUS"; then
if test -f "${SRCCACHE}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f $DESTDIR/share/media/*.*
unzip -q -d "$DESTDIR/share/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
unzip -q -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
fi
fi
################################################################################
if test x$DEMO_SESSION_URL != x ; then
mkdir -p $DESTDIR/share/sessions
mkdir -p $DESTDIR/share/${LOWERCASE_DIRNAME}/sessions
DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt)
for demo in $DEMO_SESSIONS; do
curl -s -S --fail -# -o $DESTDIR/share/sessions/$demo $DEMO_SESSION_URL/$demo
curl -s -S --fail -# -o $DESTDIR/share/${LOWERCASE_DIRNAME}/sessions/$demo $DEMO_SESSION_URL/$demo
done
fi