diff options
author | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
commit | ccf03a25db6c31cf8d8f3b54348004c1ee933f3e (patch) | |
tree | 14a3d5abade84bc2e41eae81425b28dd9a1b6dca /src/ship.rs | |
parent | 26940cde1e363a5454ef0f06381c85afdd1c85d3 (diff) | |
download | solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.tar.gz solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.zip |
planet: Fix template for VMs
Still to-do: Automatically add the installation `Ship` to the VM
Diffstat (limited to 'src/ship.rs')
-rw-r--r-- | src/ship.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ship.rs b/src/ship.rs index 6466a5f..7b684b3 100644 --- a/src/ship.rs +++ b/src/ship.rs @@ -94,6 +94,7 @@ impl Ship { ]) .output()?; } else { + println!("Not remote"); output = Command::new("wget") .args([ "-O", @@ -112,7 +113,7 @@ impl Ship { pub fn make_pretty_name(&self) -> String { let safe_name = self.name.clone().to_lowercase().replace(" ", "-"); - let file_name = format!("{}-{}-{}.van", safe_name, self.version.clone(), self.shasum.0.clone()); + let file_name = format!("{}-{}-{}.ship", safe_name, self.version.clone(), self.shasum.0.clone()); file_name } |