diff options
author | midipix <writeonce@midipix.org> | 2024-09-24 23:32:10 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-09-24 23:32:10 +0000 |
commit | a2a622237bff8e18fd5655cc0ead295c04efeb50 (patch) | |
tree | d888d6f6b712e28bf937ce8bfcb59a8c59767526 /once | |
parent | 81ae603d58a74b4b0469b9a7e6ba75502aa91796 (diff) | |
download | mpackage-a2a622237bff8e18fd5655cc0ead295c04efeb50.tar.bz2 mpackage-a2a622237bff8e18fd5655cc0ead295c04efeb50.tar.xz |
Diffstat (limited to 'once')
-rwxr-xr-x | once/install.sh | 6 |
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 |