fix(rebuild): shellcheck warnings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
379876f4f6
commit
077eec64ee
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
updates_available () {
|
||||
docker pull $1
|
||||
if test "$(docker run -it --rm $1 /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
|
||||
docker pull "$1"
|
||||
if test "$(docker run -it --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user