]> Sergey Matveev's repositories - godlighty.git/commitdiff
Remove .bsdiff after update
authorSergey Matveev <stargrave@stargrave.org>
Wed, 6 Oct 2021 14:59:15 +0000 (17:59 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 6 Oct 2021 14:59:15 +0000 (17:59 +0300)
make-update.sh

index 5cf764a2195caf8da412b379facd0bcc191817dc..325444f1cab6a6c399bed8e68b8cb3aec271e13a 100755 (executable)
@@ -27,6 +27,7 @@ our_hash=`sha512 < updates/$w.old`
 [ "\$their_hash" = "\$our_hash" ]
 chown \`stat -f %u:%g \$w\` \$w.new
 chmod \`stat -f %Mp%Lp \$w\` \$w.new
+rm \$w.bsdiff
 mv -f \$w.new \$w
 exit
 EOF