summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-15 22:38:23 +0200
committerErich Eckner <git@eckner.net>2018-10-15 22:38:23 +0200
commit12697eb5bae92e39bf8f3fcc5ae83f007a10413e (patch)
tree0ca858736e037216e7de5d3a35c2554bcb874e39 /archPackagesUpdate
parent3fabe7f43d1dc4d6ab9dcf55cf7e14ed244d956c (diff)
downloadarchlinuxewe.git.save-12697eb5bae92e39bf8f3fcc5ae83f007a10413e.tar.xz
archPackagesUpdate: extract pacman-static
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate7
1 files changed, 7 insertions, 0 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 0709a115..50c8d713 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -679,6 +679,13 @@ then
printf '%s\n' "${paket_teile_und_archs[@]%%:*}" | \
sort -u | \
while read -r arch; do
+ if [ "${paket}" = 'pacman-static' ] && \
+ [ "${arch}" = 'i686' ]; then
+ tar -xJf "${paket_teile[*]}" -C /srv/arch-mirror/sources.archlinux32/sources/ --strip-components=2 usr/bin/pacman-static 2>/dev/null
+ rm -f /srv/arch-mirror/sources.archlinux32/sources/pacman-static.sig
+ gpg --detach-sign -u "${key}" --no-armor /srv/arch-mirror/sources.archlinux32/sources/pacman-static
+ fi
+
paket_teile=(
$(
printf '%s\n' "${paket_teile_und_archs[@]}" | \