Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment