added bash set builtin

This commit is contained in:
Jonas Forsberg
2020-10-14 10:52:24 +02:00
parent 698511ed6d
commit 910b1c1396
5 changed files with 5 additions and 1 deletions

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