Update install
This commit is contained in:
5
install
5
install
@@ -70,6 +70,7 @@ while [ "$#" -gt 0 ]; do
|
|||||||
;;
|
;;
|
||||||
--travis)
|
--travis)
|
||||||
wo_travis="y"
|
wo_travis="y"
|
||||||
|
wo_force_install="y"
|
||||||
;;
|
;;
|
||||||
-s | --silent)
|
-s | --silent)
|
||||||
wo_force_install="y"
|
wo_force_install="y"
|
||||||
@@ -495,6 +496,10 @@ wo_install() {
|
|||||||
# Clone Github repository if it doesn't exist
|
# Clone Github repository if it doesn't exist
|
||||||
wo_install_travis() {
|
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
|
if [ -f "$HOME/.gitconfig" ]; then
|
||||||
# install and redirect log to not print python package install
|
# install and redirect log to not print python package install
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
|
|||||||
Reference in New Issue
Block a user