From a2a622237bff8e18fd5655cc0ead295c04efeb50 Mon Sep 17 00:00:00 2001 From: midipix Date: Sep 24 2024 23:32:10 +0000 Subject: once/install.sh: skip updater.tar.gz, extract files with the --no-same-owner switch. --- 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