This commit is contained in:
aptalca 2019-07-09 17:43:45 -04:00
parent b722cd6c8f
commit 59cbe64f20

View File

@ -2,7 +2,7 @@
mkdir -p /config/{extensions,data,workspace,.ssh}
if [ -n ${SUDO_PASSWORD} ]; then
if [ -n "${SUDO_PASSWORD}" ]; then
echo "setting up sudo access"
if [ ! $(cat /etc/sudoers | grep abc) ]; then
echo "adding abc to sudoers"