try other way
Some checks failed
/ lint (pull_request) Successful in 26s
/ deploy-edge (pull_request) Has been skipped
/ build-edge (pull_request) Failing after 30s

This commit is contained in:
Antoine Martin 2024-08-16 00:39:56 -04:00
parent 6781a6cb96
commit 8ab85bddec
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,7 +1,7 @@
diff --git a/usr/local/bin/build.sh.orig b/usr/local/bin/build.sh
old mode 100644
new mode 100755
index c3b8f7a..b3c222e
index c3b8f7a..94df4e8
--- a/usr/local/bin/build.sh.orig
+++ b/usr/local/bin/build.sh
@@ -7,13 +7,14 @@
@ -39,7 +39,7 @@ index c3b8f7a..b3c222e
esac
}
@@ -99,13 +104,13 @@ set_repositories_for() {
@@ -99,14 +104,14 @@ set_repositories_for() {
local release
release=$(get_release)
@ -52,10 +52,12 @@ index c3b8f7a..b3c222e
[ "$repo" = "$target_repo" ] && break
done
- doas sh -c "printf '%s\n' $repos > /etc/apk/repositories"
- doas apk update
+ doas sh -c "printf '%s\n' $repos >> /etc/apk/repositories"
doas apk update
+ doas apk update || true
}
apply_offset_limit() {
@@ -118,7 +123,15 @@ apply_offset_limit() {
}