Fix Curl Installation #7

Merged
me merged 1 commits from dev into main 2025-06-16 13:32:23 -07:00

5
run.sh
View File

@ -51,6 +51,9 @@ fi
cd $DIR
sudo=""
if [[ -z $LOGNAME ]]; then
LOGNAME="`whoami`"
fi
if [[ $LOGNAME != "root" ]]; then
log "Using sudo since user is '$LOGNAME'."
sudo="sudo"
@ -70,7 +73,7 @@ if [[ ! `which npm` ]]; then
$sudo apt-get install -y npm
fi
if [[ ! `which curl` ]]; then
echo "- Installing NPM"
echo "- Installing Curl"
$sudo apt-get install -y curl
fi