diff options
author | midipix <writeonce@midipix.org> | 2019-06-20 09:31:09 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-06-20 09:31:09 -0400 |
commit | dd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd (patch) | |
tree | 7748a7baaac5776c7dc54ae099612bf6379f219b | |
parent | 83e11dd366218e9d5f01fa8f82826a9097615013 (diff) | |
download | mpackage-dd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd.tar.bz2 mpackage-dd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd.tar.xz |
install.sh, update.sh: untar: preserve recorded permissions.
-rwxr-xr-x | once/install.sh | 2 | ||||
-rwxr-xr-x | once/update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/once/install.sh b/once/install.sh index a1762cd..12c2dd4 100755 --- a/once/install.sh +++ b/once/install.sh @@ -18,7 +18,7 @@ for tarball in /tarballs/*.tar.gz; do echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo extracting files from $tarball echo .................................................. - tar -xvf $tarball -C "$SYSROOT" || exit 2 + tar -xpvf $tarball -C "$SYSROOT" || exit 2 echo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ echo done diff --git a/once/update.sh b/once/update.sh index 37416a2..31b4e0f 100755 --- a/once/update.sh +++ b/once/update.sh @@ -14,7 +14,7 @@ for tarball in /updates/*.tar.gz; do echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo extracting files from $tarball echo .................................................. - tar -xvf $tarball -C "$SYSROOT" || exit 2 + tar -xpvf $tarball -C "$SYSROOT" || exit 2 echo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ echo done |