diff options
author | Erich Eckner <git@eckner.net> | 2021-03-27 16:03:26 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-27 16:03:26 +0100 |
commit | b1df31060e05cea8947e5cbbbdf4f04bbac9adf6 (patch) | |
tree | 55f5e16e24d7f27608073c57d9189f0752766cc3 | |
parent | 7879d45597a112f0cd83601cc9209ebfbfd90dbc (diff) | |
download | build-knecht-b1df31060e05cea8947e5cbbbdf4f04bbac9adf6.tar.xz |
build-knecht: *always* sleep 60 seconds
-rwxr-xr-x | build-knecht | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/build-knecht b/build-knecht index 52a7a05..3f9a6b5 100755 --- a/build-knecht +++ b/build-knecht @@ -22,13 +22,12 @@ if ! git -C "${home_dir}/archlinuxewe" pull --ff-only; then >&2 echo 'Cannot update archPackages repository.' fi -if "${home_dir}/archlinuxewe/archPackagesUpdate" \ +"${home_dir}/archlinuxewe/archPackagesUpdate" \ --no-abortOnMakepkgError \ - --arch "${arch}"; then - sleep 60 -else - "${home_dir}/archlinuxewe/archPackagesUpdate" \ - --cleanChroot \ - --arch "${arch}" \ - || true -fi + --arch "${arch}"; then \ +|| "${home_dir}/archlinuxewe/archPackagesUpdate" \ + --cleanChroot \ + --arch "${arch}" \ +|| true + +sleep 60 |