initial setup script v.0.1

This commit is contained in:
Ibrahim Mkusa 2024-11-15 22:43:16 -05:00
parent a27660ec30
commit 6e12b1cdfc

15
scripts/initial.sh Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
. /etc/os-release
case $ID in
"debian" )
sudo apt update -y && sudo apt upgrade -y
;;
"rhel" )
sudo dnf update -y
;;
esac