summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
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..."