Update .local/share/chezmoi/home/dot_local/bin/executable_provision, .local/bin/provision
This commit is contained in:
parent
cda476dabc
commit
4ab910d19e
2 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,8 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then
|
||||||
fi
|
fi
|
||||||
if [ -d /usr/local/src/hiawatha/.git ]; then
|
if [ -d /usr/local/src/hiawatha/.git ]; then
|
||||||
git config pull.rebase false
|
git config pull.rebase false
|
||||||
|
git reset --hard HEAD
|
||||||
|
git clean -fxd
|
||||||
git pull origin master
|
git pull origin master
|
||||||
else
|
else
|
||||||
rm -rf /usr/local/src/hiawatha
|
rm -rf /usr/local/src/hiawatha
|
||||||
|
|
|
@ -167,6 +167,8 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then
|
||||||
fi
|
fi
|
||||||
if [ -d /usr/local/src/hiawatha/.git ]; then
|
if [ -d /usr/local/src/hiawatha/.git ]; then
|
||||||
git config pull.rebase false
|
git config pull.rebase false
|
||||||
|
git reset --hard HEAD
|
||||||
|
git clean -fxd
|
||||||
git pull origin master
|
git pull origin master
|
||||||
else
|
else
|
||||||
rm -rf /usr/local/src/hiawatha
|
rm -rf /usr/local/src/hiawatha
|
||||||
|
|
Loading…
Reference in a new issue