summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-05 16:46:41 +0200
committerRobin Gareus <robin@gareus.org>2015-04-05 16:46:41 +0200
commit35557fdebea64ab1a1dca92a50d636d32fb8c561 (patch)
tree63ef5e4f750ead3f97898327a82643dbca7d550b
parentf0231766d7e9806709095c0a8bd89e336bfb8f7b (diff)
installer: check for jackdbus fixes #6229
-rwxr-xr-xtools/linux_packaging/stage2.run.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 847f9eccc6..87f2401fba 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -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.