SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
lang/deno/patches/patch-cli_tools_upgrade_rs
Normal file
12
lang/deno/patches/patch-cli_tools_upgrade_rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: cli/tools/upgrade.rs
|
||||
--- cli/tools/upgrade.rs.orig
|
||||
+++ cli/tools/upgrade.rs
|
||||
@@ -267,6 +267,8 @@ pub async fn upgrade(
|
||||
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()?;
|
Loading…
Add table
Add a link
Reference in a new issue