do-extract/00-distfiles.sh: unzip -o to overwrite without asking.
This commit is contained in:
parent
ea0f9f23c6
commit
09c1d7d1da
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue