From c6162a2cf2a13eff4a63154e2d8a93e769c4909d Mon Sep 17 00:00:00 2001 From: y00842519 Date: Mon, 8 Jul 2024 10:11:47 +0800 Subject: [PATCH] add priority --- hooks/root.d/01-create-root | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/root.d/01-create-root b/hooks/root.d/01-create-root index 0a38a2e..81e6e73 100755 --- a/hooks/root.d/01-create-root +++ b/hooks/root.d/01-create-root @@ -40,6 +40,7 @@ else echo "$repo" >> $repo_config echo "enable=1" >> $repo_config echo "gpgcheck=0" >> $repo_config + echo "priority=${i}" >> $repo_config ((i++)) || echo > /dev/null done rm -rf $REPOFILE -- Gitee