Skip to content

Commit

Permalink
debug: Use tree -h to also see the size of files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejsil committed Jun 12, 2024
1 parent 409018b commit 4d2a27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dipm
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,14 @@ install_using_dir() {
download_url_to "$url" "$dir" || return 1
if [ "$DIPM_DEBUG" ]; then
echo "debug: after download:" >&2
tree "$dir" >&2
tree -h "$dir" >&2
fi

validate_pkg_hash "$expected_hash" "$dir" || return 1
extract_pkg "$dir" || return 1
if [ "$DIPM_DEBUG" ]; then
echo "debug: after extraction:" >&2
tree "$dir" >&2
tree -h "$dir" >&2
fi

install_pkg "$pkg" "$install_bin" "$version" "$dir" || {
Expand Down

0 comments on commit 4d2a27f

Please sign in to comment.