From 41e41bec9bc744a1daf73986ebfa41c2b40b9b1e Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 15 Jan 2025 14:49:18 -0500 Subject: [PATCH] testing --- projects/pkgx.sh/pkgm/package.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/projects/pkgx.sh/pkgm/package.yml b/projects/pkgx.sh/pkgm/package.yml index ea1dcbe444..34f089993b 100644 --- a/projects/pkgx.sh/pkgm/package.yml +++ b/projects/pkgx.sh/pkgm/package.yml @@ -9,11 +9,19 @@ provides: dependencies: pkgx.sh: ^2 + curl.se/ca-certs: '*' -build: install -Dm755 pkgm {{prefix}}/bin/pkgm +build: + - sed -i 's|--allow-run=pkgx,/usr/bin/sudo|--allow-run|' pkgm + - head -n1 pkgm + - install -Dm755 pkgm {{prefix}}/bin/pkgm test: - pkgm --version + - command -v pkgm + - command -v pkgx + - pkgx --version + - head -n1 {{prefix}}/bin/pkgm - pkgm install dua # TODO: this will work eventually # - pkgm ls | grep dua