Skip to content

Commit

Permalink
Remove the -e and -u shell opts in scripts with a retry function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Oct 23, 2023
1 parent 3387671 commit 7d0e5a8
Show file tree
Hide file tree
Showing 419 changed files with 433 additions and 433 deletions.
2 changes: 1 addition & 1 deletion scripts/alma8/dnf.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/kernel.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/randomness.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma8/updatedb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/dnf.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/kernel.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/randomness.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alma9/updatedb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
4 changes: 2 additions & 2 deletions scripts/alpine310/apk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux
#!/bin/sh -x

retry() {
local COUNT=1
Expand Down Expand Up @@ -36,7 +36,7 @@ retry apk update --no-cache
retry apk upgrade

# Install various basic system utilities.
retry apk add vim man man-pages bash gawk wget curl sudo lsof file grep readline rsync mdocml sysstat lm_sensors findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc
retry apk add vim less groff man man-pages bash gawk wget curl sudo lsof file grep readline rsync mdocml sysstat lm_sensors findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc

# Setup vim as the default editor.
printf "alias vi=vim\n" >> /etc/profile.d/vim.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/glibc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/virtualbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine310/vmware.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
4 changes: 2 additions & 2 deletions scripts/alpine311/apk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux
#!/bin/sh -x

retry() {
local COUNT=1
Expand Down Expand Up @@ -36,7 +36,7 @@ retry apk update --no-cache
retry apk upgrade

# Install various basic system utilities.
retry apk add vim man man-pages bash gawk wget curl sudo lsof file grep readline rsync mdocml sysstat lm_sensors findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc
retry apk add vim less groff man man-pages bash gawk wget curl sudo lsof file grep readline rsync mdocml sysstat lm_sensors findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc

# Setup vim as the default editor.
printf "alias vi=vim\n" >> /etc/profile.d/vim.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/glibc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/virtualbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine311/vmware.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
4 changes: 2 additions & 2 deletions scripts/alpine312/apk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux
#!/bin/sh -x

retry() {
local COUNT=1
Expand Down Expand Up @@ -36,7 +36,7 @@ retry apk update --no-cache
retry apk upgrade

# Install various basic system utilities.
retry apk add vim man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc
retry apk add vim less groff man-db man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc

# Setup vim as the default editor.
printf "alias vi=vim\n" >> /etc/profile.d/vim.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/glibc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/virtualbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine312/vmware.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
4 changes: 2 additions & 2 deletions scripts/alpine313/apk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux
#!/bin/sh -x

retry() {
local COUNT=1
Expand Down Expand Up @@ -36,7 +36,7 @@ retry apk update --no-cache
retry apk upgrade

# Install various basic system utilities.
retry apk add vim man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc
retry apk add vim less groff man-db man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc

# Setup vim as the default editor.
printf "alias vi=vim\n" >> /etc/profile.d/vim.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/glibc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/virtualbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine313/vmware.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
4 changes: 2 additions & 2 deletions scripts/alpine314/apk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux
#!/bin/sh -x

retry() {
local COUNT=1
Expand Down Expand Up @@ -36,7 +36,7 @@ retry apk update --no-cache
retry apk upgrade

# Install various basic system utilities.
retry apk add vim man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc
retry apk add vim less groff man-db man-pages bash gawk wget curl sudo lsof file grep readline rsync sysstat findutils sysfsutils dmidecode libmagic sqlite-libs ca-certificates ncurses-libs ncurses-terminfo ncurses-terminfo-base psmisc

# Setup vim as the default editor.
printf "alias vi=vim\n" >> /etc/profile.d/vim.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/glibc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/magma.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/mariadb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/memcached.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/postfix.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/alpine314/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -x

retry() {
local COUNT=1
Expand Down
Loading

0 comments on commit 7d0e5a8

Please sign in to comment.