From e04febb0fe6c7685e1371ec6d701ce42be6d0a13 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 20 Jul 2024 18:23:38 -0700 Subject: [PATCH] Add set -u Signed-off-by: Tommy --- Fedora-Server-40.sh | 2 +- Fedora-Workstation-40.sh | 2 +- Proxmox-8.sh | 2 +- RHEL-9.sh | 2 +- Ubuntu-24.04-Desktop.sh | 2 +- Ubuntu-24.04-Server.sh | 2 +- sample-scripts/Ubuntu-24.04-LEMP.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Fedora-Server-40.sh b/Fedora-Server-40.sh index d3ff43e..dbb8d84 100644 --- a/Fedora-Server-40.sh +++ b/Fedora-Server-40.sh @@ -16,7 +16,7 @@ #Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/Fedora-Workstation-40.sh b/Fedora-Workstation-40.sh index 3ad4958..c4f62c6 100644 --- a/Fedora-Workstation-40.sh +++ b/Fedora-Workstation-40.sh @@ -16,7 +16,7 @@ #Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/Proxmox-8.sh b/Proxmox-8.sh index 1b359e0..d583fc0 100644 --- a/Proxmox-8.sh +++ b/Proxmox-8.sh @@ -16,7 +16,7 @@ # You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script. -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/RHEL-9.sh b/RHEL-9.sh index c19ff47..00a368a 100644 --- a/RHEL-9.sh +++ b/RHEL-9.sh @@ -14,7 +14,7 @@ # License for the specific language governing permissions and limitations under # the License. -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/Ubuntu-24.04-Desktop.sh b/Ubuntu-24.04-Desktop.sh index be67fd3..d4025ca 100644 --- a/Ubuntu-24.04-Desktop.sh +++ b/Ubuntu-24.04-Desktop.sh @@ -16,7 +16,7 @@ #Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/Ubuntu-24.04-Server.sh b/Ubuntu-24.04-Server.sh index 6fb22a8..a9b9052 100644 --- a/Ubuntu-24.04-Server.sh +++ b/Ubuntu-24.04-Server.sh @@ -16,7 +16,7 @@ #Meant to be run on Ubuntu Pro Minimal -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}" diff --git a/sample-scripts/Ubuntu-24.04-LEMP.sh b/sample-scripts/Ubuntu-24.04-LEMP.sh index ca4a5db..30b7df8 100644 --- a/sample-scripts/Ubuntu-24.04-LEMP.sh +++ b/sample-scripts/Ubuntu-24.04-LEMP.sh @@ -16,7 +16,7 @@ # Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh -set -e +set -eu output(){ printf '\e[1;34m%-6s\e[m\n' "${@}"