1
0
mirror of https://github.com/tiyn/larbs.git synced 2025-10-30 18:21:14 +01:00

Update larbs.sh

This commit is contained in:
Marten Kante
2020-04-04 00:21:29 +02:00
committed by GitHub
parent 7270453f7c
commit 54a5340191

View File

@@ -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