diff --git a/seeddms/lxc/srv/seeddms/previewers.patch b/seeddms/lxc/srv/seeddms/previewers.patch index cf32e5f..b63ba84 100644 --- a/seeddms/lxc/srv/seeddms/previewers.patch +++ b/seeddms/lxc/srv/seeddms/previewers.patch @@ -1,8 +1,8 @@ --- orig/SeedDMS/Preview/PdfPreviewer.php +++ pear/SeedDMS/Preview/PdfPreviewer.php @@ -27,18 +27,18 @@ - function __construct($previewDir, $timeout=5, $xsendfile=true) { /* {{{ */ - parent::__construct($previewDir, $timeout, $xsendfile); + function __construct($previewDir, $timeout=5) { /* {{{ */ + parent::__construct($previewDir, $timeout); $this->converters = array( - 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => "unoconv -d document -f pdf --stdout -v '%f' > '%o'", - 'application/vnd.oasis.opendocument.text' => "unoconv -d document -f pdf --stdout -v '%f' > '%o'", diff --git a/seeddms/lxcfile b/seeddms/lxcfile index 96486a1..04ebe83 100644 --- a/seeddms/lxcfile +++ b/seeddms/lxcfile @@ -18,7 +18,7 @@ RUN EOF apk --no-cache add wget # Install SeedDMS - wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.10/seeddms-quickstart-5.1.10.tar.gz/download -O /srv/seeddms.tgz + wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.9/seeddms-quickstart-5.1.9.tar.gz/download -O /srv/seeddms.tgz tar xzf /srv/seeddms.tgz -C /srv mv /srv/seeddms51x /srv/seeddms rm -f /srv/seeddms.tgz