-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 851db77
Fix Arch repo pacman.conf snippet (#35825)
Current template uses the owner followed by the instance URL as the repo
name. Technically this can work if the repo happens to be named the
exact same way. But if, for example, you follow [the
docs](https://docs.gitea.com/usage/packages/arch/#publish-a-package),
you'll end up with a package in `core` while the pacman conf refers to a
non-existent repo `testuser.gitea.example.com`. Whatever is in the
square brackets get substituted in for `$repo`, so we do not want
anything except the exact repo name there.
And since it's now referring to the repo and not the owner, I've updated
the pacman conf to show all repositories.
---------
Co-authored-by: Giteabot <teabot@gitea.io>1 parent 2be51d0 commit 851db77
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | - | ||
7 | + | ||
8 | + | ||
8 | 9 | | |
9 | - | ||
10 | + | ||
11 | + | ||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments