summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--owncloud-config.php2
-rw-r--r--owncloud-fedora-autoloader.php3
-rw-r--r--owncloud.spec2
3 files changed, 5 insertions, 2 deletions
diff --git a/owncloud-config.php b/owncloud-config.php
index 1140054..93289ab 100644
--- a/owncloud-config.php
+++ b/owncloud-config.php
@@ -6,6 +6,8 @@ $CONFIG = array (
"check_for_working_htaccess" => false,
"asset-pipeline.enabled" => false,
"assetdirectory" => '/var/lib/owncloud',
+ "preview_libreoffice_path" => '/usr/bin/libreoffice',
+
"apps_paths" => array(
0 =>
diff --git a/owncloud-fedora-autoloader.php b/owncloud-fedora-autoloader.php
index 3f5f239..4caa7b7 100644
--- a/owncloud-fedora-autoloader.php
+++ b/owncloud-fedora-autoloader.php
@@ -68,5 +68,6 @@ require_once $vendor . '/ownCloud/TarStreamer/autoload.php';
require_once $vendor . '/Patchwork/JSqueeze.php';
// "kriswallsmith/assetic"
require_once $vendor . '/Assetic/autoload.php';
-
+// "symfony/polyfill-php{55,56,70}"
+require_once $vendor . '/Symfony/Polyfill/autoload.php';
diff --git a/owncloud.spec b/owncloud.spec
index 71e9717..1e8ea57 100644
--- a/owncloud.spec
+++ b/owncloud.spec
@@ -567,7 +567,7 @@ fi
php %{buildroot}%{_datadir}/%{name}/3rdparty/autoload.php
# There should not be an composer.json files remaining
-nb=$(find -name 'composer.*'| wc -l)
+nb=$(find -name 'composer.*' | wc -l)
if [ $nb -gt 0 ]
then
false found unexpected composer.json files