1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

update doc on updating dotdrop when used as a submodule

This commit is contained in:
deadc0de6
2018-09-20 14:51:38 +02:00
parent fa754de1dc
commit e018cde397
2 changed files with 8 additions and 2 deletions

View File

@@ -478,13 +478,18 @@ Also `compare` won't work on dotfiles using transformations.
If used as a submodule, update it with
```bash
$ git submodule foreach git pull origin master
$ git submodule update --init --recursive
$ git submodule update --remote dotdrop
```
You will then need to commit the changes with
```bash
$ git add dotdrop
$ git commit -m 'update dotdrop'
$ git push
```
Through pypi:
Or if installed through pypi:
```bash
$ sudo pip3 install dotdrop --upgrade
```

View File

@@ -25,6 +25,7 @@ sub="dotdrop"
cd "${cur}" || { echo "Directory \"${cur}\" doesn't exist, aborting." && exit; }
# init/update the submodule
git submodule update --init --recursive
git submodule update --remote dotdrop
# launch dotdrop
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop "${args[@]}"
# pivot back