Rename IsIntalled -> IsPackageInstalled

This commit is contained in:
Mikhail Timofeev
2020-07-09 15:14:28 +03:00
parent a7ee8ab672
commit 0647236ac1
5 changed files with 7 additions and 7 deletions

View File

@@ -37,9 +37,9 @@ download_with_retries() {
## Use dpkg to figure out if a package has already been installed
## Example use:
## if ! IsInstalled packageName; then
## if ! IsPackageInstalled packageName; then
## echo "packageName is not installed!"
## fi
function IsInstalled {
function IsPackageInstalled {
dpkg -S $1 &> /dev/null
}