Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
contrib/statpack: fix nonsensical way to check for augparse
Browse files Browse the repository at this point in the history
  • Loading branch information
lutter committed Jun 26, 2017
1 parent 3ae80e2 commit 0b73692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/statpack
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ cp -pr ${topdir}/data ral
#
# Snarf up some augeas lenses that we need
#
if [ ! -x augparse ]
augp=$(command -v augparse)
if [ -z "$augp" ]
then
if [ -x /opt/puppetlabs/puppet/bin/augparse ]; then
export PATH=$PATH:/opt/puppetlabs/puppet/bin
Expand Down

0 comments on commit 0b73692

Please sign in to comment.