fixup uninstall tag links (#812)
We tag with a leading `v`, but the messages did not have this.
This commit is contained in:
parent
dc241f2853
commit
62afef6e3c
|
@ -129,7 +129,7 @@ impl CommandExecute for Uninstall {
|
||||||
format!(
|
format!(
|
||||||
"\
|
"\
|
||||||
Unable to parse plan, this plan was created by `nix-installer` version `{plan_version}`, this is `nix-installer` version `{current_version}`\n\
|
Unable to parse plan, this plan was created by `nix-installer` version `{plan_version}`, this is `nix-installer` version `{current_version}`\n\
|
||||||
To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/{plan_version} | sh -s -- uninstall`\
|
To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v{plan_version} | sh -s -- uninstall`\
|
||||||
").red().to_string()
|
").red().to_string()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -147,7 +147,7 @@ impl CommandExecute for Uninstall {
|
||||||
\n\
|
\n\
|
||||||
Found existing plan in `{RECEIPT_LOCATION}` which was created by a version incompatible `nix-installer`.\n\
|
Found existing plan in `{RECEIPT_LOCATION}` which was created by a version incompatible `nix-installer`.\n\
|
||||||
\n
|
\n
|
||||||
To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/${version} | sh -s -- uninstall`\n\
|
To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v${version} | sh -s -- uninstall`\n\
|
||||||
\n\
|
\n\
|
||||||
").red()
|
").red()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue