From 5d31cec27acb86a649e70178853aa4b5fbda8781 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Fri, 4 Oct 2019 10:39:34 +1000 Subject: [PATCH] Make the install script re-runnable An alternative would be to create a temp directory and delete it... --- content/docs/includes/install_gvisor.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/includes/install_gvisor.md b/content/docs/includes/install_gvisor.md index 5b28c3001..5a10d4054 100644 --- a/content/docs/includes/install_gvisor.md +++ b/content/docs/includes/install_gvisor.md @@ -19,7 +19,9 @@ a good place to put the `runsc` binary. ```bash ( set -e + if [ -e runsc ]; then rm runsc; fi wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc + if [ -e runsc.sha512 ]; then rm runsc.sha512; fi wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc.sha512 sha512sum -c runsc.sha512 sudo mv runsc /usr/local/bin