Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
db2ed3a5
Commit
db2ed3a5
authored
Aug 25, 2021
by
陈精华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复某些版本LibreOffice本地安装了,但检测不到问题
parent
6efc3750
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
OfficeUtils.java
...ava/org/artofsolving/jodconverter/office/OfficeUtils.java
+5
-0
install.sh
server/src/main/bin/install.sh
+1
-1
startup.sh
server/src/main/bin/startup.sh
+1
-1
No files found.
office-plugin/src/main/java/org/artofsolving/jodconverter/office/OfficeUtils.java
View file @
db2ed3a5
...
...
@@ -104,9 +104,14 @@ public class OfficeUtils {
"/opt/openoffice.org3"
,
"/opt/openoffice"
,
"/opt/libreoffice"
,
"/opt/libreoffice6.0"
,
"/opt/libreoffice6.1"
,
"/opt/libreoffice6.2"
,
"/opt/libreoffice6.3"
,
"/opt/libreoffice6.4"
,
"/opt/libreoffice7.0"
,
"/opt/libreoffice7.1"
,
"/opt/libreoffice7.2"
,
"/opt/openoffice4"
,
"/usr/lib/openoffice"
,
"/usr/lib/libreoffice"
...
...
server/src/main/bin/install.sh
View file @
db2ed3a5
...
...
@@ -7,7 +7,7 @@ install_redhat() {
if
[
$?
-eq
0
]
;
then
yum
install
-y
libXext.x86_64
yum groupinstall
-y
"X Window System"
yum
installlocalho
yum
localinstall
*
.rpm
echo
'install finshed...'
else
echo
'download package error...'
...
...
server/src/main/bin/startup.sh
View file @
db2ed3a5
#!/bin/bash
DIR_HOME
=(
"/opt/openoffice.org3"
"/opt/libreoffice"
"/opt/libreoffice6.
1"
"/opt/libreoffice7.0"
"/opt/libreoffice7.1
"
"/opt/openoffice4"
"/usr/lib/openoffice"
"/usr/lib/libreoffice"
"/usr/lib64/libreoffice"
)
DIR_HOME
=(
"/opt/openoffice.org3"
"/opt/libreoffice"
"/opt/libreoffice6.
0"
"/opt/libreoffice6.1"
"/opt/libreoffice6.2"
"/opt/libreoffice6.3"
"/opt/libreoffice6.4"
"/opt/libreoffice7.0"
"/opt/libreoffice7.1"
"/opt/libreoffice7.2
"
"/opt/openoffice4"
"/usr/lib/openoffice"
"/usr/lib/libreoffice"
"/usr/lib64/libreoffice"
)
FLAG
=
OFFICE_HOME
=
KKFILEVIEW_BIN_FOLDER
=
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment