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