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
jenkins
slm-fileview
Commits
09b6964c
Commit
09b6964c
authored
Nov 29, 2019
by
陈精华
Committed by
kl
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
脚本:使用kkFileView站点下载OpenOffice安装文件,加速国内用户构建Docker镜像
parent
461030d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install.sh
jodconverter-web/src/main/bin/install.sh
+2
-2
No files found.
jodconverter-web/src/main/bin/install.sh
View file @
09b6964c
...
...
@@ -2,7 +2,7 @@
cd
/tmp
install_redhat
()
{
wget https://
iweb.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/zh-CN
/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_zh-CN.tar.gz
-cO
openoffice_rpm.tar.gz
&&
tar
zxf /tmp/openoffice_rpm.tar.gz
&&
cd
/tmp/zh-CN/RPMS
wget https://
kkfileview.keking.cn
/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_zh-CN.tar.gz
-cO
openoffice_rpm.tar.gz
&&
tar
zxf /tmp/openoffice_rpm.tar.gz
&&
cd
/tmp/zh-CN/RPMS
if
[
$?
-eq
0
]
;
then
yum
install
-y
libXext.x86_64
yum groupinstall
-y
"X Window System"
...
...
@@ -16,7 +16,7 @@ install_redhat() {
}
install_ubuntu
()
{
wget https://
iweb.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/zh-CN
/Apache_OpenOffice_4.1.6_Linux_x86-64_install-deb_zh-CN.tar.gz
-cO
openoffice_deb.tar.gz
&&
tar
zxf /tmp/openoffice_deb.tar.gz
&&
cd
/tmp/zh-CN/DEBS
wget https://
kkfileview.keking.cn
/Apache_OpenOffice_4.1.6_Linux_x86-64_install-deb_zh-CN.tar.gz
-cO
openoffice_deb.tar.gz
&&
tar
zxf /tmp/openoffice_deb.tar.gz
&&
cd
/tmp/zh-CN/DEBS
echo
$?
if
[
$?
-eq
0
]
;
then
dpkg
-i
*
.deb
...
...
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