Skip to content

Commit 68b3ac0

Browse files
jhheidermxcl
authored andcommitted
testing
1 parent 0031910 commit 68b3ac0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

projects/pkgx.sh/pkgm/package.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@ provides:
99

1010
dependencies:
1111
pkgx.sh: ^2
12+
curl.se/ca-certs: '*'
1213

13-
build: install -Dm755 pkgm {{prefix}}/bin/pkgm
14+
build:
15+
- sed -i 's|--allow-run=pkgx,/usr/bin/sudo|--allow-run|' pkgm
16+
- head -n1 pkgm
17+
- install -Dm755 pkgm {{prefix}}/bin/pkgm
1418

1519
test:
1620
- pkgm --version
21+
- command -v pkgm
22+
- command -v pkgx
23+
- pkgx --version
24+
- head -n1 {{prefix}}/bin/pkgm
1725
- pkgm install dua
1826
# TODO: this will work eventually
1927
# - pkgm ls | grep dua

0 commit comments

Comments
 (0)