summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/PKGBUILD-appendix-for-archive-server7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/PKGBUILD-appendix-for-archive-server b/misc/PKGBUILD-appendix-for-archive-server
index b99268c..a968159 100644
--- a/misc/PKGBUILD-appendix-for-archive-server
+++ b/misc/PKGBUILD-appendix-for-archive-server
@@ -2,17 +2,18 @@ for ((i=0; i<${#source[@]}; i++)); do
infos=$(
printf '%s\n' "${source[${i}]}" | \
sed -n '
- s@^\(\([^:]\+\)::\)\?git+\('"$(
+ s@^\(\([^:]\+\)::\)\?\(git\|hg\)+\('"$(
printf '%s\|' \
'https://git.archlinux.org/linux.git' \
'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git' \
'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' \
- 'https://github.com/zen-kernel/zen-kernel' | \
+ 'https://github.com/zen-kernel/zen-kernel' \
+ 'https://hg.mozilla.org/mozilla-unified' | \
sed '
s/\\|$//
s/[.]/[.]/g
'
- )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@git \2 \3 \4 \5@
+ )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@\3 \2 \4 \5 \6@
T
p
'