Update install.sh

This commit is contained in:
Félix Aimé 2021-04-14 16:50:16 +02:00 committed by GitHub
parent e2f5801a99
commit d9fed1a558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,8 +303,7 @@ check_dependencies() {
"/usr/bin/suricata" "/usr/bin/suricata"
"/usr/bin/unclutter" "/usr/bin/unclutter"
"/usr/bin/sqlite3" "/usr/bin/sqlite3"
"/usr/bin/pip" "/usr/bin/pip")
"/usr/bin/node")
echo -e "\e[39m[+] Checking dependencies...\e[39m" echo -e "\e[39m[+] Checking dependencies...\e[39m"
for bin in "${bins[@]}" for bin in "${bins[@]}"
@ -316,6 +315,7 @@ check_dependencies() {
install_package ${bin##*/} install_package ${bin##*/}
fi fi
done done
install_package node
echo -e "\e[39m[+] Install Python packages...\e[39m" echo -e "\e[39m[+] Install Python packages...\e[39m"
python3 -m pip install -r "$SCRIPT_PATH/assets/requirements.txt" python3 -m pip install -r "$SCRIPT_PATH/assets/requirements.txt"
} }