From 0c0809f551f323af63867376f043cfbf6bcf4b73 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Jan 2020 10:06:05 +0100 Subject: archPackagesUpdate: bugfix in manual zstd-compression --- archPackagesUpdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archPackagesUpdate b/archPackagesUpdate index 6908f4ba3..631c41c2e 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -590,9 +590,9 @@ if ${aufRechenknecht}; then if [ ${err[${i}]} -eq 0 ]; then tar -xzvf paket.tar.gz \ | sed ' - s/\.pkg\.tar$/\0.zst/ + s/^.*\.pkg\.tar$/\0 \0.zst/ t - s/\(\.pkg\.tar\)\(-.*\.log\)$/\1.zst\2/ + s/^\(.*\.pkg\.tar\)\(-.*\.log\)$/\0 \1.zst\2/ t s/^.*$/unknown file "\0" in packages tar cannot be compressed/ w /dev/stderr -- cgit v1.2.3-70-g09d2