From 1e44c2497fbe933967ab5267567d1cbd846bc9d4 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 6 Jan 2015 14:03:36 +0100 Subject: 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 --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 1b9aa4b..22f0cf4 100755 --- a/install.sh +++ b/install.sh @@ -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..." -- cgit v1.2.3