Skip to content

Commit a5c22a1

Browse files
committed
Rename: script: checkPackage -> checkForPackage.
1 parent df8a412 commit a5c22a1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

install_rack_free.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function installRack() {
5757
rm RackFree-${rackVersion}-lin-x64.zip
5858
}
5959

60-
function checkPackage() {
60+
function checkForPackage() {
6161
echo
6262
echo "Checking if $1 is installed..."
6363
${checkCommand} "$1" &> /dev/null
@@ -68,7 +68,7 @@ function checkPackage() {
6868
}
6969

7070
function checkAndInstall() {
71-
checkPackage "$1"
71+
checkForPackage "$1"
7272

7373
if [ $lastCheck != 0 ]; then
7474
echo
@@ -137,7 +137,7 @@ function installArchPrereqs() {
137137

138138
if [ $wantJack != 0 ]; then
139139
# Don't try to clobber pipewire-jack...
140-
checkPackage pipewire-jack
140+
checkForPackage pipewire-jack
141141
if [ $lastCheck != 0 ]; then
142142
checkAndInstall jack2
143143
fi
@@ -164,7 +164,7 @@ function installDebianPrereqs() {
164164

165165
if [ $wantJack != 0 ]; then
166166
# Don't overwrite jack in certain Ubuntu versions.
167-
checkPackage libjack-jackd2-0
167+
checkForPackage libjack-jackd2-0
168168
if [ $lastCheck != 0 ]; then
169169
checkAndInstall libjack0
170170
fi

0 commit comments

Comments
 (0)