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

wb: Interactive rcfiles update.

Updating rcfiles triggers the Git hook which in turn runs Make to update
configuration files which runs Passhole. If not interactive (and not
TTY), Passhole falls back to using Zenity which I don't include in the
Workbench image (it pulls in a lot of X and Gnome dependencies and I
feel like it's the wrong tool for this situation). Instead, I would
prefer to have Passhole ask for password as usual, so interactive (and
TTY) it is.
parent ac654c61
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ update() { ...@@ -98,7 +98,7 @@ update() {
podman image prune --filter 'label=com.github.containers.toolbox=true' --force >/dev/null podman image prune --filter 'label=com.github.containers.toolbox=true' --force >/dev/null
toolbox create --image "$IMAGE" toolbox create --image "$IMAGE"
fi fi
toolbox run --container "$CONTAINER" -- git -C "$HOME" Pull podman exec -it -w "$HOME" -u "$(whoami)" "$CONTAINER" git pull
} }
dry_update() { dry_update() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment