From 183e767e4c54ac092b171e2713e41b58970bff93 Mon Sep 17 00:00:00 2001 From: poka Date: Wed, 18 Nov 2020 08:11:18 +0100 Subject: [PATCH] Missing package --- setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 0b33d6c..ac3f027 100755 --- a/setup.sh +++ b/setup.sh @@ -1,9 +1,10 @@ #!/bin/bash -for i in gcc python3-pip python3-setuptools libpq-dev python3-dev; do - if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; - then +for i in gcc python3-pip python3-setuptools libpq-dev python3-dev python3-wheel; do + if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then + [[ ! $j ]] && sudo apt update sudo apt install -y $i + j=1 fi done