1
0
Fork 0

fix(rebuild): the input device is not a TTY
continuous-integration/drone/push Build was killed Details

master
Pim van den Berg 4 months ago
parent 197a87f268
commit f27537448c

@ -1,8 +1,10 @@
#!/bin/sh
set -x
updates_available () {
docker pull $1
if test "$(docker run -it --rm $1 /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
if test "$(docker run --rm $1 /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
return 0
else
return 1

Loading…
Cancel
Save