summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-27 16:03:26 +0100
committerErich Eckner <git@eckner.net>2021-03-27 16:03:26 +0100
commitb1df31060e05cea8947e5cbbbdf4f04bbac9adf6 (patch)
tree55f5e16e24d7f27608073c57d9189f0752766cc3
parent7879d45597a112f0cd83601cc9209ebfbfd90dbc (diff)
downloadbuild-knecht-b1df31060e05cea8947e5cbbbdf4f04bbac9adf6.tar.xz
build-knecht: *always* sleep 60 seconds
-rwxr-xr-xbuild-knecht17
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