1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-10-18 02:35:12 -04:00

Add set -e

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-02 16:48:15 -07:00
parent 5aa7838940
commit 0b25901b86
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
7 changed files with 16 additions and 2 deletions

View File

@ -16,6 +16,8 @@
#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
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -16,6 +16,8 @@
#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
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -16,6 +16,8 @@
# You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script.
set -e
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -14,6 +14,8 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -16,6 +16,8 @@
#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
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -16,6 +16,8 @@
#Meant to be run on Ubuntu Pro Minimal
set -e
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -16,6 +16,8 @@
# Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh
set -e
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}
@ -30,7 +32,7 @@ sudo ufw allow 443
# Add mainline NGINX repo
# This is extremely important as Ubuntu keeps shipping outdated NGINX
sudo curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
unpriv curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
sudo chmod 644 /usr/share/keyrings/nginx-archive-keyring.gpg
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/nginx.sources | sudo tee /etc/apt/sources.list.d/nginx.sources
sudo chmod 644 /etc/apt/sources.list.d/nginx.sources
@ -39,7 +41,7 @@ sudo chmod 644 /etc/apt/sources.list.d/nginx.sources
sudo add-apt-repository -y ppa:ondrej/php
# Add upstream MariaDB repo
curl https://supplychain.mariadb.com/mariadb-keyring-2019.gpg | sudo tee /usr/share/keyrings/mariadb-keyring-2019.gpg
unpriv curl https://supplychain.mariadb.com/mariadb-keyring-2019.gpg | sudo tee /usr/share/keyrings/mariadb-keyring-2019.gpg
sudo chmod 644 /usr/share/keyrings/mariadb-keyring-2019.gpg
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/mariadb.sources | sudo tee /etc/apt/sources.list.d/mariadb.sources
sudo chmod 644 /etc/apt/sources.list.d/maridadb.sources