diff options
author | davidovski <david@davidovski.xyz> | 2022-04-11 15:27:40 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-11 15:27:40 +0100 |
commit | 30be8ddd88f617f21b874e623f2da8643fe2699c (patch) | |
tree | 451d431e7ceb5a80613c9e32d0edc7c70a883762 /src/install.sh | |
parent | 62e5165d2607576d3bc4973da62ad7fbd2baf52d (diff) |
added preserve to tar command
Diffstat (limited to 'src/install.sh')
-rw-r--r-- | src/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh index 3cab32f..a251820 100644 --- a/src/install.sh +++ b/src/install.sh @@ -1,7 +1,7 @@ #!/bin/sh extract () { - tar -h --no-overwrite-dir -vvxf $1 -C ${SYSROOT} 2>/dev/null | grep ^- | tr -s " " | cut -d" " -f6 | cut -c2- + tar -h -p --no-overwrite-dir -vvxf $1 -C ${SYSROOT} 2>/dev/null | grep ^- | tr -s " " | cut -d" " -f6 | cut -c2- } install_package () { |