Update .local/bin/provision, .local/share/chezmoi/home/dot_local/bin/executable_provision

This commit is contained in:
Brian Zalewski 2022-11-30 09:38:53 +00:00
parent 4ab910d19e
commit 40eeaebcb4
2 changed files with 2 additions and 0 deletions

View file

@ -166,6 +166,7 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then
sudo chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha sudo chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha
fi fi
if [ -d /usr/local/src/hiawatha/.git ]; then if [ -d /usr/local/src/hiawatha/.git ]; then
cd /usr/local/src/hiawatha
git config pull.rebase false git config pull.rebase false
git reset --hard HEAD git reset --hard HEAD
git clean -fxd git clean -fxd

View file

@ -166,6 +166,7 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then
sudo chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha sudo chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha
fi fi
if [ -d /usr/local/src/hiawatha/.git ]; then if [ -d /usr/local/src/hiawatha/.git ]; then
cd /usr/local/src/hiawatha
git config pull.rebase false git config pull.rebase false
git reset --hard HEAD git reset --hard HEAD
git clean -fxd git clean -fxd