diff --git a/README.md b/README.md index f0622808..b19127f3 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,9 @@ cd "$HOME/.dotfiles" ./install.sh ``` ## Updating -This will remove all related files, pull and then link everything again. +This will remove all related files, pull and then link everything again – automatically. ```bash -cd "$HOME/.dotfiles" -./uninstall.sh -git pull -./uninstall.sh -./install.sh +dotfiles-updater ``` ## Uninstalling This will reset all programs to their original state and remove `~/.dotfiles` completely. diff --git a/bin/updatechecker b/bin/updatechecker index e9eda9d4..d93ba081 100755 --- a/bin/updatechecker +++ b/bin/updatechecker @@ -15,9 +15,11 @@ fi if [ ! "$SCRIPTED" == "true" ]; then if [ "$UPDATE" == "true" ]; then - echo -e "${COLOR_BOLD}An update for jstm's punkdateien is available." - echo -e "${COLOR_REGULAR}Latest commit: ${LATEST_COMMIT}" - echo -e "${COLOR_REGULAR} -> Message: ${LATEST_COMMIT_MESSAGE}" + echo -e "${COLOR_BOLD}An update for jstm's punkdateien is available." + echo -e "${COLOR_REGULAR}Latest commit: ${LATEST_COMMIT}" + echo " -> Message: ${LATEST_COMMIT_MESSAGE}" + echo "" + echo -e "${COLOR_BOLD}Update by executing \"dotfiles-updater\"" echo -en "${COLOR_RESET}" elif [ ! "${BASHRC}" == "true" ]; then echo -e "${COLOR_BOLD}No update available"