From fbec92c710f5b84798cee71e6b5bcf8174b023de Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 27 Sep 2019 14:25:31 +0200 Subject: [PATCH] Update install --- install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install b/install index a380e30..35692c4 100755 --- a/install +++ b/install @@ -70,6 +70,7 @@ while [ "$#" -gt 0 ]; do ;; --travis) wo_travis="y" + wo_force_install="y" ;; -s | --silent) wo_force_install="y" @@ -495,6 +496,10 @@ wo_install() { # Clone Github repository if it doesn't exist wo_install_travis() { + if [ "$wo_force_install" = "y" ]; then + [ ! -f "$HOME/.gitconfig" ] && { bash -c 'echo -e "[user]\n\tname = $USER\n\temail = root@$HOSTNAME.local" > $HOME/.gitconfig'; } + fi + if [ -f "$HOME/.gitconfig" ]; then # install and redirect log to not print python package install python3 setup.py install