summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-20 09:31:09 -0400
committermidipix <writeonce@midipix.org>2019-06-20 09:31:09 -0400
commitdd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd (patch)
tree7748a7baaac5776c7dc54ae099612bf6379f219b /once
parent83e11dd366218e9d5f01fa8f82826a9097615013 (diff)
downloadmpackage-dd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd.tar.bz2
mpackage-dd3e7b6f051c99ae2327ef85d9fbc3f69edb2ddd.tar.xz
install.sh, update.sh: untar: preserve recorded permissions.
Diffstat (limited to 'once')
-rwxr-xr-xonce/install.sh2
-rwxr-xr-xonce/update.sh2
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