Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-kernel-config10
-rwxr-xr-xupdate-website4
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 ' <div id="download-mirrors">\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
)" | \