Exit script on error

This commit is contained in:
Manuel Thalmann 2024-03-25 00:26:12 +01:00
parent d5b1c23c92
commit 9329729f3b
6 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
function installDrivers() { function installDrivers() {

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
extraMounts() extraMounts()

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
function installDrivers() { function installDrivers() {

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
ARCH_MOUNT_ROOT="/mnt" \ ARCH_MOUNT_ROOT="/mnt" \

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
rootDir="${BASH_SOURCE%/*}"; rootDir="${BASH_SOURCE%/*}";
customPortValhallaSudoConfigFile="/etc/sudoers.d/1337_PortValhalla" customPortValhallaSudoConfigFile="/etc/sudoers.d/1337_PortValhalla"
pushd "$rootDir" > /dev/null; pushd "$rootDir" > /dev/null;

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null; pushd "${BASH_SOURCE%/*}" > /dev/null;
ARCH_TIMEZONE="${ARCH_TIMEZONE:-"Europe/Zurich"}"; ARCH_TIMEZONE="${ARCH_TIMEZONE:-"Europe/Zurich"}";