[Pkg-owncloud-commits] [owncloud] 21/258: Typ in whichOpenOffice test
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 444e21ab15efb02d9e973b7279164beb4b2c08e7
Author: Olivier Paroz <oparoz at users.noreply.github.com>
Date: Tue Sep 2 22:11:49 2014 +0200
Typ in whichOpenOffice test
---
lib/private/preview/office.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/preview/office.php b/lib/private/preview/office.php
index 16e395c..b47cbc6 100644
--- a/lib/private/preview/office.php
+++ b/lib/private/preview/office.php
@@ -17,7 +17,7 @@ if (extension_loaded('imagick')) {
if (!\OC_Util::runningOnWindows()) {
$whichLibreOffice = ($isShellExecEnabled ? shell_exec('command -v libreoffice') : '');
$isLibreOfficeAvailable = !empty($whichLibreOffice);
- $whichOpenOffice = ($isShellExecEnabled ? shell_exec('command -v libreoffice') : '');
+ $whichOpenOffice = ($isShellExecEnabled ? shell_exec('command -v openoffice') : '');
$isOpenOfficeAvailable = !empty($whichOpenOffice);
//let's see if there is libreoffice or openoffice on this machine
if($isShellExecEnabled && ($isLibreOfficeAvailable || $isOpenOfficeAvailable || is_string(\OC_Config::getValue('preview_libreoffice_path', null)))) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list