From 09c1d7d1daa690dc1b9cd9e8d9dde139560256b6 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 12 Dec 2014 10:32:08 +0100 Subject: [PATCH] do-extract/00-distfiles.sh: unzip -o to overwrite without asking. --- common/hooks/do-extract/00-distfiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/do-extract/00-distfiles.sh b/common/hooks/do-extract/00-distfiles.sh index c8907b3973..ae535d89f0 100644 --- a/common/hooks/do-extract/00-distfiles.sh +++ b/common/hooks/do-extract/00-distfiles.sh @@ -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