do-extract/00-distfiles.sh: unzip -o to overwrite without asking.

This commit is contained in:
Christian Neukirchen 2014-12-12 10:32:08 +01:00
parent ea0f9f23c6
commit 09c1d7d1da

View file

@ -84,7 +84,7 @@ hook() {
;;
zip)
if command -v unzip &>/dev/null; then
unzip -q $srcdir/$curfile -d $extractdir
unzip -o -q $srcdir/$curfile -d $extractdir
if [ $? -ne 0 ]; then
msg_error "$pkgver: extracting $curfile into $XBPS_BUILDDIR.\n"
fi