mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
check_dependencies doesn't check exec status nor for awk/sed #463
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @krayon on GitHub (Mar 16, 2020).
check_dependenciesusescommand -vto determine the path (and presence) ofvarious binaries, it does not however check their execution status.
In the event
PATHcontains a matching name, but it is NOT executable,command -vwill still return it, so we must check for it's ability to beexecuted.
Also,
awkandsedaren't checked for which are used a fair bit.