meta: forcefully gunzip and bunzip2 .gz and .bz2 files.
Otherwise it gets stuck with a confirmation prompt.
This commit is contained in:
parent
0501d5b9f8
commit
8956ff14f7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue