installer: check for jackdbus fixes #6229
authorRobin Gareus <robin@gareus.org>
Sun, 5 Apr 2015 14:46:41 +0000 (16:46 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 5 Apr 2015 14:46:41 +0000 (16:46 +0200)
tools/linux_packaging/stage2.run.in

index 847f9eccc6a4ad0a207ed411c269e48f9c2cf89d..87f2401fba0537f94d890adea7138289c7e0a73e 100755 (executable)
@@ -526,8 +526,15 @@ echo ""
 
 JACK_INSTALLED="f"
 
-if ! which jackd > /dev/null;
-then
+if which jackd > /dev/null; then
+       JACK_INSTALLED="t"
+       echo "Jack already present"
+elif which jackdbus > /dev/null; then
+       echo ""
+       echo "jackdbus was found but not jackd. Jack version compatibility check cannot be performed."
+       echo ""
+       JACK_INSTALLED="i"
+else
        echo ""
        echo "The program Jack is missing from this system. Jack is a required component of $PGM_NAME."
        echo ""
@@ -547,9 +554,6 @@ then
                        JACK_INSTALLED="t"
                fi
        fi
-else
-       JACK_INSTALLED="t"
-       echo "Jack already present"
 fi
 
 # Check to see if Jack is new enough to operate correctly.