added bash set builtin
This commit is contained in:
parent
698511ed6d
commit
910b1c1396
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -aeou pipefail
|
||||||
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
|
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
|
||||||
|
|
||||||
type qrencode >/dev/null 2>&1 || { printf "qrencode is not installed\n" >&2; exit 1; }
|
type qrencode >/dev/null 2>&1 || { printf "qrencode is not installed\n" >&2; exit 1; }
|
||||||
|
@ -15,7 +15,7 @@ DOTFILES_RENAME_EXISTING_FILES=(
|
|||||||
|
|
||||||
### NO Changes below this line
|
### NO Changes below this line
|
||||||
|
|
||||||
set -aeo pipefail
|
set -aeou pipefail
|
||||||
|
|
||||||
function printHelp(){
|
function printHelp(){
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -aeou pipefail
|
||||||
[[ "$EUID" != 0 ]] && echo "Run as root!" && exit 1
|
[[ "$EUID" != 0 ]] && echo "Run as root!" && exit 1
|
||||||
zypper refresh
|
zypper refresh
|
||||||
zypper dist-upgrade --from packman --allow-downgrade --allow-vendor-change
|
zypper dist-upgrade --from packman --allow-downgrade --allow-vendor-change
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# to be executed in transactional-update shell
|
# to be executed in transactional-update shell
|
||||||
|
set -aeou pipefail
|
||||||
zypper install \
|
zypper install \
|
||||||
vim \
|
vim \
|
||||||
jq \
|
jq \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -aeou pipefail
|
||||||
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
|
keepassdb="$HOME/Nextcloud/passwords/Passwords.kdbx"
|
||||||
|
|
||||||
type wg >/dev/null 2>&1 || { printf "wireguard is not installed\n" >&2; exit 1; }
|
type wg >/dev/null 2>&1 || { printf "wireguard is not installed\n" >&2; exit 1; }
|
||||||
|
Loading…
Reference in New Issue
Block a user