修复某些版本LibreOffice本地安装了,但检测不到问题

dependabot/maven/server/com.thoughtworks.xstream-xstream-1.4.18
陈精华 3 years ago
parent 6efc375066
commit db2ed3a555

@ -104,9 +104,14 @@ public class OfficeUtils {
"/opt/openoffice.org3", "/opt/openoffice.org3",
"/opt/openoffice", "/opt/openoffice",
"/opt/libreoffice", "/opt/libreoffice",
"/opt/libreoffice6.0",
"/opt/libreoffice6.1", "/opt/libreoffice6.1",
"/opt/libreoffice6.2",
"/opt/libreoffice6.3",
"/opt/libreoffice6.4",
"/opt/libreoffice7.0", "/opt/libreoffice7.0",
"/opt/libreoffice7.1", "/opt/libreoffice7.1",
"/opt/libreoffice7.2",
"/opt/openoffice4", "/opt/openoffice4",
"/usr/lib/openoffice", "/usr/lib/openoffice",
"/usr/lib/libreoffice" "/usr/lib/libreoffice"

@ -7,7 +7,7 @@ install_redhat() {
if [ $? -eq 0 ];then if [ $? -eq 0 ];then
yum install -y libXext.x86_64 yum install -y libXext.x86_64
yum groupinstall -y "X Window System" yum groupinstall -y "X Window System"
yum installlocalho yum localinstall *.rpm
echo 'install finshed...' echo 'install finshed...'
else else
echo 'download package error...' echo 'download package error...'

@ -1,5 +1,5 @@
#!/bin/bash #!/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= FLAG=
OFFICE_HOME= OFFICE_HOME=
KKFILEVIEW_BIN_FOLDER=$(cd "$(dirname "$0")";pwd) KKFILEVIEW_BIN_FOLDER=$(cd "$(dirname "$0")";pwd)

Loading…
Cancel
Save