From ffe392752a49a08c73d7af01a36a9dd7537455b1 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 20 Aug 2019 10:05:55 -0300 Subject: [PATCH] sudo -H (fix errors with root) --- background_installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/background_installer.sh b/background_installer.sh index dc76f8e..e16956d 100755 --- a/background_installer.sh +++ b/background_installer.sh @@ -233,7 +233,7 @@ elif [ "$1" == "linux" ]; then linux_install_deps sudo install_py_deps - install_py_deps sudo + install_py_deps "sudo -H" install_all_libs sudo @@ -265,7 +265,7 @@ elif [ "$1" == "rpi" ]; then sudo apt-get install -y wiringpi install_py_deps - install_py_deps sudo + install_py_deps "sudo -H" install_all_libs sudo @@ -293,7 +293,7 @@ elif [ "$1" == "neuron" ]; then linux_install_deps sudo install_py_deps - install_py_deps sudo + install_py_deps "sudo -H" install_all_libs sudo