Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b932f6be38 | |||
| 5fa7fd0f90 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1916,7 +1916,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "linux-patch-api"
|
||||
version = "1.1.12"
|
||||
version = "1.1.13"
|
||||
dependencies = [
|
||||
"actix",
|
||||
"actix-rt",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "linux-patch-api"
|
||||
version = "1.1.12"
|
||||
version = "1.1.13"
|
||||
edition = "2021"
|
||||
authors = ["Echo <echo@moon-dragon.us>"]
|
||||
description = "Secure remote package management API for Linux systems"
|
||||
|
||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
linux-patch-api (1.1.13) unstable; urgency=medium
|
||||
|
||||
* Fix APK backend detection for Alpine (/sbin/apk not /usr/bin/apk)
|
||||
|
||||
-- Echo <echo@moon-dragon.us> Tue, 20 May 2026 13:55:00 -0500
|
||||
|
||||
linux-patch-api (1.1.12) unstable; urgency=medium
|
||||
|
||||
* Add APK (Alpine Linux) package manager backend
|
||||
|
||||
@ -1180,7 +1180,9 @@ pub fn create_backend() -> Result<Box<dyn PackageManagerBackend>> {
|
||||
} else if std::path::Path::new("/usr/bin/dnf").exists() {
|
||||
// TODO: Implement DnfBackend for RHEL/CentOS/Fedora
|
||||
Err(anyhow::anyhow!("DNF backend not yet implemented"))
|
||||
} else if std::path::Path::new("/usr/bin/apk").exists() {
|
||||
} else if std::path::Path::new("/usr/bin/apk").exists()
|
||||
|| std::path::Path::new("/sbin/apk").exists()
|
||||
{
|
||||
Ok(Box::new(ApkBackend::new()))
|
||||
} else if std::path::Path::new("/usr/bin/pacman").exists() {
|
||||
// TODO: Implement PacmanBackend for Arch
|
||||
|
||||
Reference in New Issue
Block a user