run, check all prog variables.
This commit is contained in:
@@ -103,7 +103,7 @@ if [[ ! `which ps 2>/dev/null` ]]; then
|
||||
progs_apt="$progs_apt procps"
|
||||
progs_pm="$progs_pm procps-ng"
|
||||
fi
|
||||
if [[ -n "$progs" ]]; then
|
||||
if [[ -n "$progs" || -n "$progs_apt" || -n "$progs_pm" ]]; then
|
||||
if [[ `which apt 2>/dev/null` ]]; then
|
||||
echo "Using APT..."
|
||||
progs="$progs $progs_apt"
|
||||
|
||||
Reference in New Issue
Block a user