mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-09-22 22:37:59 +03:00
fix: remove apk arch
This commit is contained in:
+1
-7
@@ -207,13 +207,7 @@ fn detect_platform() -> Result<(PackageKind, String, bool)> {
|
||||
} else if command_exists("apk")
|
||||
&& command_succeeds("apk", &["info", "--exists", "cheburprobe"])?
|
||||
{
|
||||
let architecture = output_text("apk", &["--print-arch"])?;
|
||||
let architecture = architecture.trim();
|
||||
let architecture = if architecture == "aarch64" {
|
||||
openwrt_apk_arch()?
|
||||
} else {
|
||||
architecture.to_owned()
|
||||
};
|
||||
let architecture = openwrt_apk_arch()?;
|
||||
let luci_installed =
|
||||
command_succeeds("apk", &["info", "--exists", "luci-app-cheburprobe"])?;
|
||||
Ok((PackageKind::Apk, architecture, luci_installed))
|
||||
|
||||
Reference in New Issue
Block a user