Unverified Commit 51555fc4 authored by Robert Lankford's avatar Robert Lankford Committed by GitHub

feat(gnu-utils): include `ghostname` if present (#10867)

parent ed411d3f
...@@ -35,6 +35,9 @@ __gnu_utils() { ...@@ -35,6 +35,9 @@ __gnu_utils() {
# Not part of either coreutils or findutils, installed separately. # Not part of either coreutils or findutils, installed separately.
gcmds+=('gsed' 'gtar' 'gtime' 'gmake' 'ggrep') gcmds+=('gsed' 'gtar' 'gtime' 'gmake' 'ggrep')
# can be built optionally
gcmds+=('ghostname')
for gcmd in "${gcmds[@]}"; do for gcmd in "${gcmds[@]}"; do
# Do nothing if the command isn't found # Do nothing if the command isn't found
(( ${+commands[$gcmd]} )) || continue (( ${+commands[$gcmd]} )) || continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment