From b330636d08d8fe6093a489be793fa55bc717afbd Mon Sep 17 00:00:00 2001 From: Pallav Vasa Date: Tue, 20 May 2025 08:28:57 +0000 Subject: [PATCH] feat: change the update home_tar command to directly copy from the container --- gitops_router.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitops_router.sh b/gitops_router.sh index 6f2879a..ff463d7 100644 --- a/gitops_router.sh +++ b/gitops_router.sh @@ -163,7 +163,7 @@ update) ssh_router) update 1 ssh_router.sh .local/bin 500 ;; gitops_router) update 1 gitops_router.sh .local/bin 500 ;; validate_command) update 1 validate_command_access.sh .local/bin 500 ;; - home_tar) update 0 home.tar.gz . 500 media ;; + home_tar) podman cp "$PERSON":/app/workspaces/home.tar.gz "$HOME"/ ;; gitconfig) update 0 gitconfig.template . 500 ;; *) log ERROR "update: invalid arg '${args[0]}'" ;; esac