Skip to Content.
Please activate JavaScript in your web browser
List archive
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (e691f5d0ec91988e5e7b0acd987a0e5f43de0f73)
Chronological
Thread
<
Chronological
>
<
Thread
>
From
: Ismael Luceno <scm AT sourcemage.org>
To
: sm-commit AT lists.ibiblio.org
Subject
: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (e691f5d0ec91988e5e7b0acd987a0e5f43de0f73)
Date
: Sun, 21 Feb 2021 20:43:27 +0000
GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:
var/lib/sorcery/modules/libunpack | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit e691f5d0ec91988e5e7b0acd987a0e5f43de0f73
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
resurrect: Fix extraction of cache tarballs
Force the use of GNU tar.
Fixes: cbd21858672f ("libunpack: Improve tarball extraction")
diff --git a/var/lib/sorcery/modules/libunpack
b/var/lib/sorcery/modules/libunpack
index 488c8c7..061a325 100755
--- a/var/lib/sorcery/modules/libunpack
+++ b/var/lib/sorcery/modules/libunpack
@@ -592,7 +592,10 @@ unpack_missing() {
##
#---------------------------------------------------------------------
uncompress_unpack_cache() {
- uncompress_unpack "$1" root cache same-permissions
+ # FIXME enable unpacking with non-gnu tar
+ local filename=$(guess_filename "$basedir/$1") &&
+ local compressor=$(guess_compressor "$filename") &&
+ uncompress_core "$filename" "$compressor" | tar -xf -
}
#---------------------------------------------------------------------
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (e691f5d0ec91988e5e7b0acd987a0e5f43de0f73)
,
Ismael Luceno, 02/21/2021
Archive powered by
MHonArc 2.6.24
.