Skip to content
Permalink
Browse files

Ensure sudo is installed before continuing.

  • Loading branch information...
Cat5TV committed May 14, 2019
1 parent cfc3b8e commit 409aaa818b9f487d513c9687ed8e6c92da1f7ba4
Showing with 3 additions and 0 deletions.
  1. +3 −0 nems-prep.sh
@@ -45,6 +45,9 @@ sleep 5
apt update

apt install --yes git screen dialog gnupg nano apt-utils sudo

# Make absolutely certain sudo is installed (as we'll be removing root login)
command -v sudo >/dev/null 2>&1 || { echo "sudo could not be installed. Aborting." >&2; exit 1; }

# Setup default account info
git config --global user.email "nems@baldnerd.com"

0 comments on commit 409aaa8

Please sign in to comment.
You can’t perform that action at this time.