do-extract/00-distfiles.sh: unzip -o to overwrite without asking.
This commit is contained in:
@@ -84,7 +84,7 @@ hook() {
|
|||||||
;;
|
;;
|
||||||
zip)
|
zip)
|
||||||
if command -v unzip &>/dev/null; then
|
if command -v unzip &>/dev/null; then
|
||||||
unzip -q $srcdir/$curfile -d $extractdir
|
unzip -o -q $srcdir/$curfile -d $extractdir
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
msg_error "$pkgver: extracting $curfile into $XBPS_BUILDDIR.\n"
|
msg_error "$pkgver: extracting $curfile into $XBPS_BUILDDIR.\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user