Fix unzip, allow to overwrite .daw-meta.xml file
This commit is contained in:
parent
980404d73c
commit
e14bef1619
@ -739,7 +739,7 @@ if test -n "$MIXBUS"; then
|
|||||||
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
|
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
|
||||||
echo "Adding Mixbus Bundled Content"
|
echo "Adding Mixbus Bundled Content"
|
||||||
rm -f "${MediaClips}/"*.*
|
rm -f "${MediaClips}/"*.*
|
||||||
unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
|
unzip -q -o -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Fetching Ardour bundled content"
|
echo "Fetching Ardour bundled content"
|
||||||
@ -751,7 +751,7 @@ else
|
|||||||
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
|
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
|
||||||
echo "Adding Ardour Bundled Content"
|
echo "Adding Ardour Bundled Content"
|
||||||
rm -f "${MediaClips}/"*.*
|
rm -f "${MediaClips}/"*.*
|
||||||
unzip -q -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip"
|
unzip -q -o -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -360,7 +360,7 @@ if test -n "$MIXBUS"; then
|
|||||||
if test -f "${SRCCACHE}/MixbusBundledMedia.zip"; then
|
if test -f "${SRCCACHE}/MixbusBundledMedia.zip"; then
|
||||||
echo "Adding Mixbus Bundled Content"
|
echo "Adding Mixbus Bundled Content"
|
||||||
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
|
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
|
fi
|
||||||
else
|
else
|
||||||
echo "Fetching Ardour bundled media"
|
echo "Fetching Ardour bundled media"
|
||||||
@ -372,7 +372,7 @@ else
|
|||||||
if test -f "${SRCCACHE}/ArdourBundledMedia.zip"; then
|
if test -f "${SRCCACHE}/ArdourBundledMedia.zip"; then
|
||||||
echo "Adding Ardour Bundled Content"
|
echo "Adding Ardour Bundled Content"
|
||||||
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user