Skip to content

Commit a350b63

Browse files
committed
wip
1 parent d3aec8c commit a350b63

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ $ sudo pkgm update
5555
>
5656
> Shims are files with a single line, eg `#!/usr/bin/env -S pkgx -q! node@22`.
5757
>
58-
> Thus using the shell to reinvoke the file via `pkgx`. You get all the benefits
59-
> of an installed package without actually having to install it. Desirable
60-
> traits for certain types of self-healing, devops containers and plenty more
61-
> one-off or ephemeral tasks.
58+
> Thus using the shell to reinvoke the file via `pkgx`. You get all the
59+
> benefits of an installed package without actually it actually being
60+
> installed until it is needed. Traits desirable for certain types of
61+
> self-healing, devops containers and plenty more one-off or ephemeral tasks.
6262
>
63-
> Shims are pretty great—but have caveats. Some software might be surprised that
64-
> a package is not fully “installed” and lead to errors. In practice we have
65-
> seen issues only rarely and for more complex package combinations.
63+
> Shims are pretty great—but have caveats. Some software might be surprised
64+
> that a package is not fully “installed” and lead to errors. In practice we
65+
> have seen issues only rarely and for more complex package combinations.
6666
6767
## Installation
6868

pkgm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ function install_prefix() {
740740
}
741741

742742
function dev_stub_text(selfpath: string, bin_prefix: string, name: string) {
743-
if (selfpath.startsWith("/usr/local")) {
743+
if (selfpath.startsWith("/usr/local") && selfpath != '/usr/local/bin/dev') {
744744
return `
745745
dev_check() {
746746
[ -x /usr/local/bin/dev ] || return 1

0 commit comments

Comments
 (0)