diff --git a/homelab/stacks/README.md b/homelab/stacks/README.md index d99d9382..3476a53b 100644 --- a/homelab/stacks/README.md +++ b/homelab/stacks/README.md @@ -4,11 +4,13 @@ ### Get a Stack (from source with Git) ```sh STACK=ai +mkdir -p $HOME/stacks/$STACK git clone -n --depth=1 --filter=tree:0 https://gitea.jafner.tools/Jafner/Jafner.net.git /tmp/repo cd /tmp/repo git sparse-checkout set --no-cone homelab/stacks/$STACK git checkout -mv homelab/stacks/$STACK $HOME/stacks/$STACK +mv homelab/stacks/$STACK $HOME/stacks/ +cd $HOME/stacks/$STACK rm -rf /tmp/repo ```