Compare commits

..

1 Commits

Author SHA1 Message Date
3d13137677 added check dir for unpack 2025-04-07 13:32:54 +03:00

View File

@ -235,6 +235,7 @@ unpack () {
*.tar.zst) local command="tar -I zstd -xhf" ;;
*.tar) local command="tar -xhf" ;;
esac
create_new_dir "$2"
if $command "$1" -C "$2" ; then
print_ok "Архив $1 распакован."
return 0