From: Silvio Rhatto Date: Fri, 23 Mar 2018 16:41:59 +0000 (-0300) Subject: Requires make X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=aa93bb2844ce784ed43129a119ddc0514973a2b3;p=stowpkg.git Requires make --- diff --git a/stowpkg b/stowpkg index da22e89..bb2a14c 100755 --- a/stowpkg +++ b/stowpkg @@ -42,6 +42,12 @@ __stowpkg_initialize () { exit 1 fi + # Check for make + if ! which make > /dev/null 2>&1; then + echo "$BASENAME: please install make first" + exit 1 + fi + # Sudo config if [ "`whoami`" != 'root' ]; then SUDO="sudo"