termux-packages/packages/topgrade/unix.rs.patch
Aditya Alok fe326e9990
chore(topgrade): update to 8.3.1
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
Co-authored-by: Yaksh Bariya <yakshbari4@gmail.com>
2022-04-14 13:22:27 +05:30

18 lines
650 B
Diff

# This is literally bug fix, not port patch.
# I have requested a pull to upstream, will remove it
# when it is merged.
diff --git a/src/steps/os/unix.rs b/src/steps/os/unix.rs
index 52df093..61cefc7 100644
--- a/src/steps/os/unix.rs
+++ b/src/steps/os/unix.rs
@@ -135,7 +135,7 @@ pub fn run_fish_plug(ctx: &ExecutionContext) -> Result<()> {
ctx.run_type().execute(&fish).args(&["-c", "plug update"]).check_run()
}
-#[cfg(not(target_os = "macos"))]
+#[cfg(not(any(target_os = "android", target_os = "macos")))]
pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> {
let gdbus = require("gdbus")?;
require_option(