Make the install script re-runnable

An alternative would be to create a temp directory and delete it...
This commit is contained in:
Brett Morgan
2019-10-04 14:09:32 +09:00
committed by Ian Lewis
parent 0261626482
commit 5d31cec27a
+2
View File
@@ -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