Skip to content
Snippets Groups Projects
Commit 70e67c2f authored by nimrod's avatar nimrod
Browse files

fixup! Dry-run for update-wb.

parent 8298eff4
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ update() { ...@@ -23,7 +23,7 @@ update() {
if [ "$(hostname)" = 'toolbox' ] if [ "$(hostname)" = 'toolbox' ]
then then
/usr/libexec/flatpak-xdg-utils/flatpak-spawn --host "$0" "$@" /usr/libexec/flatpak-xdg-utils/flatpak-spawn --host "$0" "$@"
elif [ "$1" = "-d" ] || [ "$1" = "--dry-run" ] || [ -n "${DRY_RUN:-}" ] elif [ "${1:-}" = "-d" ] || [ "${1:-}" = "--dry-run" ] || [ -n "${DRY_RUN:-}" ]
then then
podman image pull "$IMAGE" > /dev/null podman image pull "$IMAGE" > /dev/null
elif ! (is_latest) elif ! (is_latest)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment