add logging around sudo decision

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-30 21:42:34 +02:00
parent ca11a4a09c
commit fc926aa798

View file

@ -2,9 +2,11 @@
SUDO=""
if [[ -z $NOSUDO ]]; then
SUDO=sudo
SUDO="sudo"
fi
echo "using '$SUDO' as sudo"
set -e
echo
echo "configuring settings common among OSes"