From a69e237bd6b85fc5fc733c0e04f34e64da4dbe9b Mon Sep 17 00:00:00 2001 From: Job79 Date: Sat, 21 Dec 2024 20:31:15 +0100 Subject: [PATCH] fix: change directory locations --- enter.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/enter.sh b/enter.sh index fabe63d..e9e04ee 100755 --- a/enter.sh +++ b/enter.sh @@ -33,8 +33,8 @@ run_args() { [ -d "$HOME/.config/git" ] && arg "-v $HOME/.config/git:/home/user/.config/git" # Mount host directories with programming projects. - [ -d "$HOME/Documents" ] && arg "-v $HOME/Documents:/home/user/Documents" - [ -d "$HOME/.local/share/devcontainer" ] && arg "-v $HOME/.local/share/devcontainer:/home/user/.dev" + [ -d "$HOME/Code" ] && arg "-v $HOME/Code:/home/user/Code" + [ -d "$HOME/.config/devcontainer" ] && arg "-v $HOME/.config/devcontainer:/home/user/.dev" # Add volumes for .local and .cache so these survive # container restarts. @@ -58,7 +58,7 @@ while test $# -gt 0; do done if [ "$fetch" = true ] || [ "$(podman container inspect "$name" -f {{.State.Running}} 2>&1)" != 'true' ]; then - log "fetching updates..." + log "fetching devcontainer updates..." if [ "$(podman pull -q "$image")" != "$(podman container inspect "$name" -f {{.Image}} 2>&1)" ]; then log "container image downloaded" '✓' 32 podman container rm -f -t 1 "$name" 1>/dev/null