2023-08-16 22:26:55 +00:00
|
|
|
Index: cli/tools/upgrade.rs
|
|
|
|
--- cli/tools/upgrade.rs.orig
|
|
|
|
+++ cli/tools/upgrade.rs
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -268,6 +268,8 @@ pub async fn upgrade(
|
2023-08-16 22:26:55 +00:00
|
|
|
flags: Flags,
|
|
|
|
upgrade_flags: UpgradeFlags,
|
|
|
|
) -> Result<(), AnyError> {
|
|
|
|
+ #[cfg(target_os = "openbsd")]
|
|
|
|
+ bail!("Upgrades are not supported on OpenBSD.");
|
|
|
|
let factory = CliFactory::from_flags(flags).await?;
|
|
|
|
let client = factory.http_client();
|
|
|
|
let current_exe_path = std::env::current_exe()?;
|