Fixed bug #76
Bug on launchpad.net: https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1465721
This commit is contained in:
parent
3efb68e169
commit
417d62e8d4
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||||
ttf-mscorefonts-installer \
|
ttf-mscorefonts-installer \
|
||||||
xvfb \
|
xvfb \
|
||||||
zlib1g && \
|
zlib1g && \
|
||||||
|
[ $(ls -l /usr/share/fonts/truetype/msttcorefonts | wc -l) -eq 61 ] && \
|
||||||
sudo -u postgres psql -c "CREATE DATABASE onlyoffice;" && \
|
sudo -u postgres psql -c "CREATE DATABASE onlyoffice;" && \
|
||||||
sudo -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';" && \
|
sudo -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';" && \
|
||||||
sudo -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;" && \
|
sudo -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;" && \
|
||||||
|
|
Loading…
Reference in a new issue