From 8956ff14f7c7369d1c16912d11268e2bc1575ec0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 3 Mar 2019 19:34:54 -0300 Subject: [PATCH] meta: forcefully gunzip and bunzip2 .gz and .bz2 files. Otherwise it gets stuck with a confirmation prompt. --- common/hooks/do-extract/00-distfiles.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/do-extract/00-distfiles.sh b/common/hooks/do-extract/00-distfiles.sh index 2e802b97eb5..c9f98589a47 100644 --- a/common/hooks/do-extract/00-distfiles.sh +++ b/common/hooks/do-extract/00-distfiles.sh @@ -76,9 +76,9 @@ hook() { gz|bz2) cp -f $srcdir/$curfile $extractdir if [ "$cursufx" = "gz" ]; then - cd $extractdir && gunzip $curfile + cd $extractdir && gunzip -f $curfile else - cd $extractdir && bunzip2 $curfile + cd $extractdir && bunzip2 -f $curfile fi ;; tar)