1
0
Fork 0

fix(rebuild): shellcheck warnings
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pim van den Berg 2022-09-15 14:49:13 +02:00
parent 379876f4f6
commit 077eec64ee
1 changed files with 2 additions and 2 deletions

View File

@ -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