13
0

Fix unzip, allow to overwrite .daw-meta.xml file

This commit is contained in:
Robin Gareus 2022-10-04 20:39:14 +02:00
parent 980404d73c
commit e14bef1619
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 4 deletions

View File

@ -739,7 +739,7 @@ if test -n "$MIXBUS"; then
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
unzip -q -o -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled content"
@ -751,7 +751,7 @@ else
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
echo "Adding Ardour Bundled Content"
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip"
unzip -q -o -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip"
fi
fi

View File

@ -360,7 +360,7 @@ if test -n "$MIXBUS"; then
if test -f "${SRCCACHE}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
unzip -q -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
unzip -q -o -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled media"
@ -372,7 +372,7 @@ else
if test -f "${SRCCACHE}/ArdourBundledMedia.zip"; then
echo "Adding Ardour Bundled Content"
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
unzip -q -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/ArdourBundledMedia.zip"
unzip -q -o -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/ArdourBundledMedia.zip"
fi
fi