[Linux] install.sh: make the IsPackageInstalled function definition consistent (#3864)

* linux/../../install.sh: make the IsPackageInstalled function definition consistent
This commit is contained in:
Mikhail Koliada
2021-08-06 18:25:52 +03:00
committed by GitHub
parent 7c15777588
commit b56230f342

View File

@@ -48,7 +48,7 @@ download_with_retries() {
## if ! IsPackageInstalled packageName; then ## if ! IsPackageInstalled packageName; then
## echo "packageName is not installed!" ## echo "packageName is not installed!"
## fi ## fi
function IsPackageInstalled { IsPackageInstalled() {
dpkg -S $1 &> /dev/null dpkg -S $1 &> /dev/null
} }