WIP: First Milestone reached #3

Closed
fr4nz wants to merge 71 commits from dev-1 into main
2 changed files with 4 additions and 3 deletions
Showing only changes of commit a0f25306a2 - Show all commits

View file

@ -1 +1,2 @@
pkgs="openssl nginx nginx-common python3-meshtastic python3-flask python3-requests"
pkgs_check="openssl nginx meshtastic flask"
pkgs_apt="openssl nginx nginx-common python3-meshtastic python3-flask python3-requests"

View file

@ -19,7 +19,7 @@ fi
### DEPENDENCIES
if command -v "$pkgs" >/dev/null 2>&1; then
if command -v "$pkgs_check" >/dev/null 2>&1; then
echo -e " ${GRN}Dependency check passed...${CRS}\n"
else
@ -30,7 +30,7 @@ else
read -p " (Y/n) --> " install
echo ""
if [[ "$install" = "" || "$install" = "y" || "$install" = "Y" ]]; then
sudo apt update && sudo apt install -y $pkgs
sudo apt update && sudo apt install -y $pkgs_apt
echo -e "\n ${GRN}Dependencies installed. Proceeding...${CRS}\n"
break