meta: forcefully gunzip and bunzip2 .gz and .bz2 files.

Otherwise it gets stuck with a confirmation prompt.
This commit is contained in:
maxice8 2019-03-03 19:34:54 -03:00
parent 0501d5b9f8
commit 8956ff14f7
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B

View File

@ -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)