This commit is contained in:
th33xitus
2020-07-22 17:50:46 +02:00
parent 3091ce55ad
commit 108b5c7b0c
2 changed files with 15 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ octoprint_dependencies(){
status_msg "Checking for dependencies ..."
for octo_dep_pgk in "${octo_dep[@]}"
do
if [[ $(dpkg-query -f'${Status}' --show $octo_dep_pgk 2>/dev/null) = *\ installed ]]; then
if [[ ! $(dpkg-query -f'${Status}' --show $octo_dep_pgk 2>/dev/null) = *\ installed ]]; then
install+=($octo_dep_pgk)
fi
done