summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
Diffstat (limited to 'once')
-rwxr-xr-xonce/update.sh4
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