diff options
Diffstat (limited to 'once')
-rwxr-xr-x | once/update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/once/update.sh b/once/update.sh index 68cd929..6962973 100755 --- a/once/update.sh +++ b/once/update.sh @@ -48,6 +48,10 @@ for tarball in $tarballs; do mv /updates/$tarball /tarballs/ mv /updates/$tarball.sha256 /tarballs/ + grep -v $tarball /etc/tarballs.sha256 > /etc/tarballs.sha256.tmp + printf '%s %s\n' $pkgsig $tarball >> /etc/tarballs.sha256.tmp + mv /etc/tarballs.sha256.tmp /etc/tarballs.sha256 + echo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ echo done |