File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ function install_prefix() {
740740}
741741
742742function 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 `
745745dev_check() {
746746 [ -x /usr/local/bin/dev ] || return 1
You can’t perform that action at this time.
0 commit comments