mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Linux] install.sh: make the IsPackageInstalled function definition consistent (#3864)
* linux/../../install.sh: make the IsPackageInstalled function definition consistent
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user