Skip to content

Commit

Permalink
extract: Support gzipped files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejsil committed Jun 21, 2024
1 parent 4773a08 commit 9d6839f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dipm
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ extract_pkg() {
*.tar.zst) tar -xvf "$file" -C "$download_dir" >/dev/null ;;
*.tbz) tar -xvf "$file" -C "$download_dir" >/dev/null ;;
*.tgz) tar -xvf "$file" -C "$download_dir" >/dev/null ;;
*.gz) gzip -d "$file" >/dev/null ;;
*.zip) (
cd "$download_dir" || return 1
unzip "$file" >/dev/null
Expand Down

0 comments on commit 9d6839f

Please sign in to comment.