Commit 97681579 authored by tbrehm's avatar tbrehm

Fixed a bug in the app detection code.

parent 6ecbdc80
......@@ -606,7 +606,7 @@ function removeLine($filename,$search_pattern,$strict = 0) {
}
function is_installed($appname) {
exec('which '.escapeshellcmd($appname).' > /dev/null 2> /dev/null',$out);
exec('which '.escapeshellcmd($appname).' 2> /dev/null',$out);
if(isset($out[0]) && stristr($out[0],$appname)) {
return true;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment