Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/archinstall/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-17 16:34:44 +0200
committerErich Eckner <git@eckner.net>2021-04-17 16:34:44 +0200
commit731c0625a8a0b8f42146d0478cef48ec8d30d1e8 (patch)
tree9d668a680ee04efac73180af1247c67b4d8a45b7 /extra/archinstall/PKGBUILD
parent7e5421d9c2d606bc91c7947c12ed49cdd7f82a64 (diff)
extra/archinstall: bare minimum to make it work on archlinux32: archlinux.org -> archlinux32.org
Diffstat (limited to 'extra/archinstall/PKGBUILD')
-rw-r--r--extra/archinstall/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/archinstall/PKGBUILD b/extra/archinstall/PKGBUILD
new file mode 100644
index 00000000..e9316ca8
--- /dev/null
+++ b/extra/archinstall/PKGBUILD
@@ -0,0 +1,6 @@
+eval "$(
+ declare -f prepare || printf 'prepare ()\n{\n}\n' \
+ | sed '
+ 2 a find "$srcdir/$pkgbase-$pkgver" -type f -exec sed -i '"'"'s@/archlinux\\.org/@/archlinux32.org/@g'"'"' {} +
+ '
+)"