fix: privilege escalation for debian (#25)

This commit is contained in:
steven-omaha
2023-05-17 14:23:08 +02:00
committed by GitHub
parent a1cbd9184c
commit 40fb1066e8
3 changed files with 56 additions and 2 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ pacdef_macros = { path = "../pacdef_macros", version = "0.1" }
alpm = { version = "2.2", optional = true }
rust-apt = { version = "0.5", optional = true }
libc = { version = "*", optional = true } # for debian
[features]
default = []
arch = ["dep:alpm"]
debian = ["dep:rust-apt"]
debian = ["dep:rust-apt", "dep:libc"]