diff options
author | Erich Eckner <git@eckner.net> | 2018-10-15 22:38:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-15 22:38:23 +0200 |
commit | 12697eb5bae92e39bf8f3fcc5ae83f007a10413e (patch) | |
tree | 0ca858736e037216e7de5d3a35c2554bcb874e39 | |
parent | 3fabe7f43d1dc4d6ab9dcf55cf7e14ed244d956c (diff) | |
download | archlinuxewe.git.save-12697eb5bae92e39bf8f3fcc5ae83f007a10413e.tar.xz |
archPackagesUpdate: extract pacman-static
-rwxr-xr-x | archPackagesUpdate | 7 |
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[@]}" | \ |