fix patch
This commit is contained in:
parent
1584ceb772
commit
779b94d8a5
1 changed files with 5 additions and 2 deletions
|
@ -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..048bf54
|
||||
index c3b8f7a..1da3937
|
||||
--- a/usr/local/bin/build.sh.orig
|
||||
+++ b/usr/local/bin/build.sh
|
||||
@@ -7,13 +7,15 @@
|
||||
|
@ -42,11 +42,14 @@ index c3b8f7a..048bf54
|
|||
repos="$repos $MIRROR/$release/$repo $REPODEST/$repo"
|
||||
[ "$repo" = "$target_repo" ] && break
|
||||
done
|
||||
@@ -118,7 +120,11 @@ apply_offset_limit() {
|
||||
@@ -118,7 +120,14 @@ apply_offset_limit() {
|
||||
}
|
||||
|
||||
setup_system() {
|
||||
- doas sh -c "echo $MIRROR/$(get_release)/main > /etc/apk/repositories"
|
||||
+ local repos='' repo=''
|
||||
+ local release
|
||||
+
|
||||
+ release=$(get_release)
|
||||
+ for repo in $ALPINE_REPOS; do
|
||||
+ [ "$release" != "edge" ] && [ "$repo" == "testing" ] && continue
|
||||
|
|
Loading…
Reference in a new issue