diff options
author | midipix <writeonce@midipix.org> | 2021-12-12 15:42:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-12-13 03:23:08 +0000 |
commit | 2ddf27de2a304d096e64b1b44a5fa7f0dc8de7b8 (patch) | |
tree | 63efa42b3eea84e4691cf3b57173019fd5a39fed /once/update.sh | |
parent | e06f87944efabb35a183813b9a74f44167f04053 (diff) | |
download | mpackage-2ddf27de2a304d096e64b1b44a5fa7f0dc8de7b8.tar.bz2 mpackage-2ddf27de2a304d096e64b1b44a5fa7f0dc8de7b8.tar.xz |
once: provide a simple mechanism to update the live (minipix) environment.
Diffstat (limited to 'once/update.sh')
-rwxr-xr-x | once/update.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/once/update.sh b/once/update.sh index d93a461..04b274a 100755 --- a/once/update.sh +++ b/once/update.sh @@ -31,7 +31,10 @@ for tarball in $tarballs; do echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ echo extracting files from /updates/$tarball echo .................................................. - tar -xpvf /updates/$tarball -C "$SYSROOT" || exit 2 + + if [ "$tarball" != 'updater.tar.gz' ]; then + tar -xpvf /updates/$tarball -C "$SYSROOT" || exit 2 + fi echo archiving old $tarball echo .................................................. |