Always update the critical software, check for skip in a better way.

This commit is contained in:
2026-05-06 09:21:24 -07:00
parent ba465cdece
commit 07ca4beacf

View File

@@ -11,7 +11,7 @@ echo "Working in '$DIR'."
skip="false"
if [[ "$1" == "skip" || "$2" == "skip" || "$3" == "skip" ]]; then
if [[ "$@" == *"skip"* || "$@" == *"-s"* ]]; then
skip="true"
fi
@@ -40,16 +40,12 @@ else
fi
if [[ "$skip" == "true" ]]; then
echo -e "\n`date` - Skipping Installs"
else
echo -e "\n`date` - Install Software"
pkg install -y \
echo -e "\n`date` - Install & Updayte Crtical Software"
pkg install -y \
openssh tsu vim htop git cronie man zip ncurses-utils \
nmap traceroute wget rsync \
ffmpeg imagemagick \
kotlin php nodejs python libllvm hugo
fi
echo -e "\n`date` - BASH Environment"