Skip to content

Commit

Permalink
Added some basic checking for needed buildinfo tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxboron committed May 1, 2020
1 parent 78804af commit b739737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildinfo
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ if [[ "${action}" == "" ]]; then
exit 1
fi

hash tar zstd 2>/dev/null || { echo "Require tar and zstd in path! Aborting..."; exit 1; }

declare file="$(readlink -e "${@: -1}")"
set -- "${@:1:$(($#-1))}"
if [[ "${file}" =~ \.pkg ]]; then
Expand Down

0 comments on commit b739737

Please sign in to comment.