Skip to content

Commit eb13069

Browse files
committed
In ?status, fallback to scanelf on distros with a weird ldconfig.
1 parent 3f51b3e commit eb13069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function checkLoolwsdSetup()
107107
else if (php_uname('m') !== 'x86_64')
108108
return 'not_x86_64';
109109

110-
exec('/sbin/ldconfig -p | grep fontconfig > /dev/null 2>&1', $output, $return);
110+
exec('( /sbin/ldconfig -p || scanelf -l ) | grep fontconfig > /dev/null 2>&1', $output, $return);
111111
if ($return)
112112
return 'no_fontconfig';
113113

0 commit comments

Comments
 (0)