summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--playbooks.d/user-tyil/playbook.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks.d/user-tyil/playbook.bash b/playbooks.d/user-tyil/playbook.bash
index 66de8a0..de91595 100644
--- a/playbooks.d/user-tyil/playbook.bash
+++ b/playbooks.d/user-tyil/playbook.bash
@@ -30,7 +30,8 @@ playbook_sync() {
[[ $BASHTARD_COMMAND == "add" ]] && return
notice "$BASHTARD_PLAYBOOK" "Updating dotfiles"
- git -C "$(config "users.tyil.home")" pull origin "$(config "users.tyil.git.branch")"
+ sudo -u tyil \
+ git -C "$(config "users.tyil.home")" pull origin "$(config "users.tyil.git.branch")"
}
playbook_del() {