From 608860f62c3e678bb6a3986bc46e6250df66b538 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Fri, 17 Jun 2022 14:57:33 -0400 Subject: [PATCH] pkgmeek: rewrote unpack_source() to avoid failures with libarchive locale conversion --- scripts/pkgmeek | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgmeek b/scripts/pkgmeek index de2156e..24ae381 100755 --- a/scripts/pkgmeek +++ b/scripts/pkgmeek @@ -142,7 +142,7 @@ if [ "$pkg_utd" = 0 ] || [ "$PKGMK_FORCE" = "yes" ]; then here="${_local_[$u]}" case "$here" in *.tar|*.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.tar.lz|*.zip|*.rpm) - bsdtar -p -o -C src -xf "$here" || errUZ+=1 ;; + tar -C src --no-same-owner -paxf "$here" || errUZ+=1 ;; *) cp -r "$here" src/ ;; esac