shellrc: add fetching everything to update function

This commit is contained in:
Aminda Suomalainen 2020-06-11 15:45:36 +03:00
parent 503a38f44a
commit 8ea8012153
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 2 additions and 0 deletions

View File

@ -613,6 +613,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
echo "" echo ""
cd $SHELL_THINGS_REPO cd $SHELL_THINGS_REPO
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
git fetch --all
git pull git pull
sleep 10 sleep 10
echo "" echo ""

View File

@ -590,6 +590,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
echo "" echo ""
cd $SHELL_THINGS_REPO cd $SHELL_THINGS_REPO
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
git fetch --all
git pull git pull
sleep 10 sleep 10
echo "" echo ""