Skip to content

Commit 5f4508a

Browse files
committed
fix: skip unneeded, unrequested installation
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
1 parent 0212dc9 commit 5f4508a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
2-
update='2025-11-05'
2+
update='2026-05-15'
33
command -p -- printf -- '\n\n .___ __\n __ ________ __\174 _\057____ _\057 \174_ ____\n\174 \174 \134____ \134 \057 __ \174\134__ \134\134 __\134\057 __ \134\n\174 \174 \057 \174_\076 \076 \057_\057 \174 \057 __ \134\174 \174 \134 ___\057\n\174____\057\174 __\057\134____ \174\050____ \057__\174 \134___ \076\n \174__\174 \134\057 \134\057 \134\057\n a Lucas Larson production\n\n' >&2 && command -p -- sleep 1
44
command -p -- printf -- '\360\237\223\241 verifying network connectivity' >&2
55
command -p -- sleep 1
@@ -67,7 +67,7 @@ if command -v -- npm >/dev/null 2>&1; then
6767
while command -p -- test "$(command -p -- find -- "$(command npm config --location=global get prefix)" -name '.DS_Store' -type f -print)" != ''; do command -p -- find -- "$(command npm config --location=global get prefix)" -name '.DS_Store' -type f -delete; done
6868
command npm install --location=global --loglevel=verbose --no-fund -- npm
6969
while command -p -- test "$(command -p -- find -- "$(command npm config --location=global get prefix)" -name '.DS_Store' -type f -print)" != ''; do command -p -- find -- "$(command npm config --location=global get prefix)" -name '.DS_Store' -type f -delete; done
70-
command npm update --location=global --loglevel=verbose --no-fund && command npm install --location=global --loglevel=verbose --no-fund -- svgo@rc && command npm ls --json --location=global --loglevel=verbose >"${DOTFILES:-${HOME%/}}"'/.package-list.json'
70+
command npm update --location=global --loglevel=verbose --no-fund && command npm ls --json --location=global --loglevel=verbose >"${DOTFILES:-${HOME%/}}"'/.package-list.json'
7171
else
7272
command -p -- printf -- 'skipping npm update...\n\n' >&2
7373
command -p -- sleep 1

0 commit comments

Comments
 (0)