Add .xz support to the extract goodie

This commit is contained in:
JeremyStar™ 2024-01-03 03:27:27 +01:00
parent 44a7d5019c
commit c9862673c2

View file

@ -103,6 +103,7 @@ if [ "${JSTMBASH_GOODIES_EXTRACT}" == "true" ]; then
*.tar.zst) unzstd "${1}" ;;
*.tbbz2) tar xjf "${1}" ;;
*.gz) gunzip "${1}" ;;
*.xz) xz -d "${1}" ;;
*.bz2) bunzip2 "${1}" ;;
*.rar) unrar x "${1}" ;;
*.zip|*.jar) unzip "${1}" ;;