From 3bf0977258f223c1ad8b36600f464acdeb272b0f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Oct 2018 23:21:45 +0200 Subject: archPackagesUpdate: work even if destination of pacman-source is not owned by us --- archPackagesUpdate | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/archPackagesUpdate b/archPackagesUpdate index 50c8d713..ccf9bf7b 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -681,9 +681,8 @@ then 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 + tar -OxJf "${paket_teile[*]}" usr/bin/pacman-static 2>/dev/null > /srv/arch-mirror/sources.archlinux32/sources/pacman-static + gpg --detach-sign -u "${key}" --yes --no-armor /srv/arch-mirror/sources.archlinux32/sources/pacman-static fi paket_teile=( -- cgit v1.2.3-70-g09d2