Skip to content

Commit 91bec03

Browse files
committed
testing
1 parent 3c54542 commit 91bec03

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

projects/pkgx.sh/pkgm/package.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ provides:
1010
dependencies:
1111
pkgx.sh: ^2
1212

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

1518
test:
1619
- pkgm --version
20+
- command -v pkgm
21+
- command -v pkgx
22+
- pkgx --version
23+
- head -n1 {{prefix}}/bin/pkgm
1724
- pkgm install dua
1825
# TODO: this will work eventually
1926
# - pkgm ls | grep dua

0 commit comments

Comments
 (0)