summaryrefslogtreecommitdiffstats
path: root/bashrc/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc/main.sh')
-rw-r--r--bashrc/main.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bashrc/main.sh b/bashrc/main.sh
index b2edc14..c939a2e 100644
--- a/bashrc/main.sh
+++ b/bashrc/main.sh
@@ -15,17 +15,17 @@ cd "${HOME}"
# self update magic
_self_update() {
pushd ${_DOTFILES_DIR} &>/dev/null
-
+
git fetch origin 2>/dev/null
if [[ -n "$(git whatchanged HEAD..origin/master)" ]]; then
echo -ne "\033[31m*\033[0m dotfile updates found, merge now? (Y/n) "
read _merge;
if [[ $_merge != 'n' ]]; then
git merge origin/master
-
+
if [[ -e management/symlinks.md5 ]]; then
md5sum -c management/symlinks.md5 --status 2>/dev/null
-
+
if [[ $? -ne 0 ]]; then
echo -e "\033[33m*\033[0m symlink mapping changed!"
echo -e "\033[33m*\033[0m Maybe you should execute godot.sh again..."