mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-01 22:57:33 +08:00
Rename IsIntalled -> IsPackageInstalled
This commit is contained in:
@@ -12,7 +12,7 @@ hhvm_package=hhvm
|
||||
|
||||
# Test to see if the software in question is already installed, if not install it
|
||||
echo "Checking to see if the installer script has already been run"
|
||||
if ! IsInstalled ${hhvm_package}; then
|
||||
if ! IsPackageInstalled ${hhvm_package}; then
|
||||
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
|
||||
add-apt-repository https://dl.hhvm.com/ubuntu
|
||||
apt-get update
|
||||
@@ -23,7 +23,7 @@ fi
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
if ! IsInstalled ${hhvm_package}; then
|
||||
if ! IsPackageInstalled ${hhvm_package}; then
|
||||
echo "${hhvm_package} was not installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user