summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
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[@]}" | \