summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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