From 54a534019108269ea3434478b06c25b4181ec13e Mon Sep 17 00:00:00 2001 From: Marten Kante <43725244+TiynGER@users.noreply.github.com> Date: Sat, 4 Apr 2020 00:21:29 +0200 Subject: [PATCH] Update larbs.sh --- larbs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/larbs.sh b/larbs.sh index 93522ec..cea7213 100644 --- a/larbs.sh +++ b/larbs.sh @@ -200,8 +200,8 @@ manualinstall $aurhelper || error "Failed to install AUR helper." installationloop # install dotfiles as bare repo to easily update -git clone --bare $dotfilesrepo /home/$USER/.dotfiles -git --git-dir=/home/$USER/.dotfiles/ --work-tree=/home/$USER checkout -f +runuser -l $USER -c 'git clone --bare $dotfilesrepo /home/$USER/.dotfiles' +runuser -l $USER -c 'git --git-dir=/home/$USER/.dotfiles/ --work-tree=/home/$USER checkout -f' # Pulseaudio, if/when initially installed, often needs a restart to work immediately. [ -f /usr/bin/pulseaudio ] && resetpulse