unpack: added -bso0 for 7z (silent mode)
This commit is contained in:
		| @@ -245,7 +245,7 @@ unpack () { | |||||||
|         *.tar.gz) command="tar -xhzf" ; outarg="-C " ;; |         *.tar.gz) command="tar -xhzf" ; outarg="-C " ;; | ||||||
|         *.tar.zst) command="tar -I zstd -xhf" ; outarg="-C " ;; |         *.tar.zst) command="tar -I zstd -xhf" ; outarg="-C " ;; | ||||||
|         *.tar) command="tar -xhf" ; outarg="-C " ;; |         *.tar) command="tar -xhf" ; outarg="-C " ;; | ||||||
|         *.zip|*.exe|*.rar) command="7z x -y" ; outarg="-o" ;; |         *.zip|*.exe|*.rar) command="7z x -y -bso0" ; outarg="-o" ;; | ||||||
|     esac |     esac | ||||||
|     create_new_dir "$2" |     create_new_dir "$2" | ||||||
|     if $command "$1" ${outarg}"$2" ; then |     if $command "$1" ${outarg}"$2" ; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user