fix(dotfiles): fix typos

pull/133/head
Phorcys 1 year ago
parent 808ee2b5b7
commit 437ea98ec4

@ -61,6 +61,7 @@ module "dotfiles-root" {
agent_id = coder_agent.example.id agent_id = coder_agent.example.id
user = "root" user = "root"
dotfiles_uri = module.dotfiles.dotfiles_uri dotfiles_uri = module.dotfiles.dotfiles_uri
}
``` ```
## Setting a default dotfiles repository ## Setting a default dotfiles repository

@ -18,6 +18,6 @@ if [ -n "$${DOTFILES_URI// }" ]; then
CODER_BIN=$(which coder) CODER_BIN=$(which coder)
DOTFILES_USER_HOME=$(eval echo ~"$DOTFILES_USER") DOTFILES_USER_HOME=$(eval echo ~"$DOTFILES_USER")
sudo -u "$DOTFILES_USER" sh -c "'$CODER_BIN' dotfiles '$DOTFILES_URI' -y 2>&1 | tee '$DOTFILES_USER_HOME'/.dotfiles.log" fi sudo -u "$DOTFILES_USER" sh -c "'$CODER_BIN' dotfiles '$DOTFILES_URI' -y 2>&1 | tee '$DOTFILES_USER_HOME'/.dotfiles.log"
fi fi
fi fi

Loading…
Cancel
Save