added bash set builtin

This commit is contained in:
Jonas Forsberg 2020-10-14 10:52:24 +02:00
parent 698511ed6d
commit 910b1c1396
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9
5 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -aeou pipefail
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
type qrencode >/dev/null 2>&1 || { printf "qrencode is not installed\n" >&2; exit 1; }

View File

@ -15,7 +15,7 @@ DOTFILES_RENAME_EXISTING_FILES=(
### NO Changes below this line
set -aeo pipefail
set -aeou pipefail
function printHelp(){
cat << EOF

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -aeou pipefail
[[ "$EUID" != 0 ]] && echo "Run as root!" && exit 1
zypper refresh
zypper dist-upgrade --from packman --allow-downgrade --allow-vendor-change

View File

@ -1,5 +1,6 @@
#!/bin/bash
# to be executed in transactional-update shell
set -aeou pipefail
zypper install \
vim \
jq \

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -aeou pipefail
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
type wg >/dev/null 2>&1 || { printf "wireguard is not installed\n" >&2; exit 1; }