From 932af82993d16f54e474e47978362d80d3a4a79d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 21:22:08 +0200 Subject: github.com -> git.archlinux32.org --- update-kernel-config | 10 +++++----- update-website | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/update-kernel-config b/update-kernel-config index 3962426..37e414c 100755 --- a/update-kernel-config +++ b/update-kernel-config @@ -10,7 +10,7 @@ old_revision=$( s/^# upstream git\( revision\)\?: *// T p - ' "/usr/src/github/archlinux32/packages/$1/$2/PKGBUILD" + ' "/usr/src/archlinux32/packages/$1/$2/PKGBUILD" ) if [ -z "${old_revision}" ]; then @@ -38,7 +38,7 @@ fi T p ' - )" "/usr/src/github/archlinux32/packages/$1/$2/config" + )" "/usr/src/archlinux32/packages/$1/$2/config" printf '%s\n' "${diff}" | \ sed -n ' s/^+// @@ -46,7 +46,7 @@ fi p ' } | \ - sponge "/usr/src/github/archlinux32/packages/$1/$2/config" + sponge "/usr/src/archlinux32/packages/$1/$2/config" sed -i ' 1 s/^#.*$/# upstream git revision: '"$( @@ -64,9 +64,9 @@ sed -i ' awk '{print $1}' )"'/g s/'"$( - git -C "/usr/src/github/archlinux32/packages/$1/$2" archive HEAD -- config | \ + git -C "/usr/src/archlinux32/packages/$1/$2" archive HEAD -- config | \ tar -Ox | \ sha256sum | \ awk '{print $1}' )"'/SKIP/g -' "/usr/src/github/archlinux32/packages/$1/$2/PKGBUILD" +' "/usr/src/archlinux32/packages/$1/$2/PKGBUILD" diff --git a/update-website b/update-website index 9cbb446..7d16382 100755 --- a/update-website +++ b/update-website @@ -3,7 +3,7 @@ set -e mirror_dir='/mnt/archlinux32' -website_dir='/usr/src/github/archlinux32/website' +website_dir='/usr/src/archlinux32/website' usage() { >&2 echo '' @@ -141,7 +141,7 @@ fi ( printf '
\n' - curl -Ss 'https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist?'"$( + curl -Ss 'https://git.archlinux32.org/archlinux32/packages/raw/branch/master/core/pacman-mirrorlist/mirrorlist?'"$( head -c 24 /dev/urandom | \ base64 -w0 )" | \ -- cgit v1.2.3-70-g09d2