Update updatechecker warning and update README
This commit is contained in:
parent
42e1eb09e2
commit
1aa3978309
2 changed files with 7 additions and 9 deletions
|
@ -41,13 +41,9 @@ cd "$HOME/.dotfiles"
|
||||||
./install.sh
|
./install.sh
|
||||||
```
|
```
|
||||||
## Updating
|
## 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
|
```bash
|
||||||
cd "$HOME/.dotfiles"
|
dotfiles-updater
|
||||||
./uninstall.sh
|
|
||||||
git pull
|
|
||||||
./uninstall.sh
|
|
||||||
./install.sh
|
|
||||||
```
|
```
|
||||||
## Uninstalling
|
## Uninstalling
|
||||||
This will reset all programs to their original state and remove `~/.dotfiles` completely.
|
This will reset all programs to their original state and remove `~/.dotfiles` completely.
|
||||||
|
|
|
@ -15,9 +15,11 @@ fi
|
||||||
|
|
||||||
if [ ! "$SCRIPTED" == "true" ]; then
|
if [ ! "$SCRIPTED" == "true" ]; then
|
||||||
if [ "$UPDATE" == "true" ]; then
|
if [ "$UPDATE" == "true" ]; then
|
||||||
echo -e "${COLOR_BOLD}An update for jstm's punkdateien is available."
|
echo -e "${COLOR_BOLD}An update for jstm's punkdateien is available."
|
||||||
echo -e "${COLOR_REGULAR}Latest commit: ${LATEST_COMMIT}"
|
echo -e "${COLOR_REGULAR}Latest commit: ${LATEST_COMMIT}"
|
||||||
echo -e "${COLOR_REGULAR} -> Message: ${LATEST_COMMIT_MESSAGE}"
|
echo " -> Message: ${LATEST_COMMIT_MESSAGE}"
|
||||||
|
echo ""
|
||||||
|
echo -e "${COLOR_BOLD}Update by executing \"dotfiles-updater\""
|
||||||
echo -en "${COLOR_RESET}"
|
echo -en "${COLOR_RESET}"
|
||||||
elif [ ! "${BASHRC}" == "true" ]; then
|
elif [ ! "${BASHRC}" == "true" ]; then
|
||||||
echo -e "${COLOR_BOLD}No update available"
|
echo -e "${COLOR_BOLD}No update available"
|
||||||
|
|
Loading…
Reference in a new issue