Commit f22d8687 authored by nimrod's avatar nimrod
Browse files

Dry-run for update-wb.

Download the new image but don't create a new container (safe to run in
the background).
parent b34dfa41
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,9 @@ update() {
if [ "$(hostname)" = 'toolbox' ]
then
    /usr/libexec/flatpak-xdg-utils/flatpak-spawn --host "$0" "$@"
elif [ "$1" = "-d" ] || [ "$1" = "--dry-run" ] || [ -n "${DRY_RUN:-}" ]
then
    podman image pull "$IMAGE" > /dev/null
elif ! (is_latest)
then
    update