diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-06 14:03:36 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-06 14:20:38 +0100 |
commit | 1e44c2497fbe933967ab5267567d1cbd846bc9d4 (patch) | |
tree | 6120f19e9ad23bb6242a68e2c189f7b001febda6 /install.sh | |
parent | 10f9578e10aea951ec8ad29a79ab1faf8f07132f (diff) |
install: use submodules to handle foreign repositories
it is probably safer to use git submodules to handle foreign
repositories like VimperatorrcBuilder
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,9 +7,10 @@ fi case "$1" in user) - git clone https://github.com/duskCoder/VimperatorrcBuilder.git tmp && + mod="mods/VimperatorrcBuilder" + git submodule update -i --remote "$mod" && ( - python tmp/example.py > user/.vimperatorrc + python "$mod/example.py" > "user/.vimperatorrc" ) rm -rf tmp echo "installing the user configuration..." |