Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Jan 15, 2025
1 parent 3c54542 commit a612c55
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion projects/pkgx.sh/pkgm/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ provides:
dependencies:
pkgx.sh: ^2

build: install -Dm755 pkgm {{prefix}}/bin/pkgm
build:
- sed -i 's|--allow-run=pkgx,/usr/bin/sudo|--allow-run=pkgx --allow-run=/usr/bin/sudo|' 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
Expand Down

0 comments on commit a612c55

Please sign in to comment.