make libreoffice conversion working properly

pull/10/head
Raphaël Vinot 2013-12-03 15:44:36 +01:00
parent dc57c9554b
commit 80ccfea742
3 changed files with 10 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LOGS="${DST}/logs"
# commands
SUDO='/usr/bin/sudo'
ID=`/usr/bin/id -u`
ID=`/usr/bin/id -u ${USERNAME}`
SYNC='/bin/sync'
TIMIDITY='/usr/bin/timidity'

View File

@ -19,6 +19,11 @@ trap clean EXIT TERM INT
./music.sh &
# Dumb libreoffice wants to write into ~/libreoffice or crash with
# com::sun::star::uno::RuntimeException
mkdir /tmp/libreoffice
chown -R kitten:kitten /tmp/libreoffice
su ${USERNAME} -c ./groomer.sh

View File

@ -10,6 +10,10 @@ apt-get autoremove
apt-get install libreoffice p7zip-full libfontforge1 timidity
dpkg -i libpoppler37*.deb pdf2htmlex*.deb
pushd /home/kitten
ln -s /tmp/libreoffice
popd
chown -R kitten:kitten /home/kitten
rm /etc/mtab