Skip to content

Commit eadfde7

Browse files
committed
refactor: no unset of for-loop variables
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
1 parent 52d335b commit eadfde7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

update

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
2-
update='2025-07-03'
2+
update='2025-07-04'
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
@@ -105,7 +105,6 @@ if command -v -- python3 >/dev/null 2>&1; then
105105
if command python3 -m pip >/dev/null 2>&1; then
106106
command -p -- printf -- '\n\360\237\220\215 updating outdated Python packages...\n' >&2
107107
command python3 -m pip list --format=columns --outdated | command -p -- sed -n -e '3,$ s/^\([^[:space:]]*\).*/\1/p' | while IFS='' read -r -- package; do command python3 -m pip install --upgrade --verbose --verbose -- "${package-}"; done
108-
unset package >/dev/null 2>&1 || package=''
109108
fi
110109
command -p -- printf -- 'checking for pyenv installation...\n' >&2
111110
if command -v -- pyenv >/dev/null 2>&1; then

0 commit comments

Comments
 (0)