summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-09-24 23:32:10 +0000
committermidipix <writeonce@midipix.org>2024-09-24 23:32:10 +0000
commita2a622237bff8e18fd5655cc0ead295c04efeb50 (patch)
treed888d6f6b712e28bf937ce8bfcb59a8c59767526 /once
parent81ae603d58a74b4b0469b9a7e6ba75502aa91796 (diff)
downloadmpackage-a2a622237bff8e18fd5655cc0ead295c04efeb50.tar.bz2
mpackage-a2a622237bff8e18fd5655cc0ead295c04efeb50.tar.xz
once/install.sh: skip updater.tar.gz, extract files with the --no-same-owner switch.HEADmain
Diffstat (limited to 'once')
-rwxr-xr-xonce/install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/once/install.sh b/once/install.sh
index 23ecab4..fd785ea 100755
--- a/once/install.sh
+++ b/once/install.sh
@@ -27,7 +27,11 @@ for tarball in /tarballs/*.tar.gz; do
echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
echo extracting files from $tarball
echo ..................................................
- tar -xpvf $tarball -C "$SYSROOT"
+
+ if [ "$tarball" != 'updater.tar.gz' ]; then
+ tar -xpv --no-same-owner -f $tarball -C "$SYSROOT"
+ fi
+
sha256sum $tarball >> /etc/tarballs.sha256.tmp
echo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
echo