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:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user