Skip to content

Commit

Permalink
Merge pull request #2708 from doug-salvati/dsLIBO
Browse files Browse the repository at this point in the history
Installs libreoffice on the server
  • Loading branch information
doug-salvati authored Sep 22, 2017
2 parents 501f9e0 + 464617b commit 23ffc6c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .ebextensions/deploy.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,23 @@ packages:
git: []
sendmail: []
sendmail-cf: []
libXinerama.x86_64: []
cups-libs: []
dbus-glib: []

files:
"/tmp/libreofficeinstall.sh" :
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
wget http://download.documentfoundation.org/libreoffice/stable/5.3.6/rpm/x86_64/LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz
tar -xvzf LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz
cd LibreOffice_5.3.6.1_Linux_x86-64_rpm/RPMS
yum install *.rpm
cd /
rm -r /tmp/LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz /tmp/LibreOffice_5.3.6.1_Linux_x86-64_rpm
"/etc/nginx/conf.d/proxy.conf" :
mode: "000755"
owner: root
Expand Down Expand Up @@ -250,6 +265,11 @@ files:
echo "$(date '+%Y-%m-%d %H:%M:%S') $(free -m | grep Mem: | sed 's/Mem://g')"
exit 0

commands:
install_libreoffice:
command: 'yes | sudo ./libreofficeinstall.sh'
cwd: /tmp


Resources:
AWSEBAutoScalingGroup:
Expand Down

0 comments on commit 23ffc6c

Please sign in to comment.