mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Make the install script re-runnable
An alternative would be to create a temp directory and delete it...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user