Change install instructions and update function to handle git submodules

This commit is contained in:
2016-08-04 19:56:36 +02:00
parent 5ddfbd3938
commit 93d66cbd6e
2 changed files with 8 additions and 1 deletions

View File

@@ -20,7 +20,10 @@ For more information, check out the [wiki](http://github.com/justone/dotfiles/wi
$ cd ~
$ git clone https://github.com/Eragos/dotfiles.git .dotfiles
$ .dotfiles/bin/dfm install
$ cd .dotfiles
$ git submodule init
$ git submodule update
$ ./bin/dfm install
## Update

View File

@@ -19,6 +19,10 @@ udot() {
echo -e "$info"
echo -e ""
echo -e "Update submodules..."
git submodule update
echo -e ""
if [ -z "$status" ]; then
echo -e "Local changes:"
echo -e "$gstatus"