mirror of https://github.com/CIRCL/Circlean
make libreoffice conversion working properly
parent
dc57c9554b
commit
80ccfea742
|
@ -18,7 +18,7 @@ LOGS="${DST}/logs"
|
||||||
|
|
||||||
# commands
|
# commands
|
||||||
SUDO='/usr/bin/sudo'
|
SUDO='/usr/bin/sudo'
|
||||||
ID=`/usr/bin/id -u`
|
ID=`/usr/bin/id -u ${USERNAME}`
|
||||||
SYNC='/bin/sync'
|
SYNC='/bin/sync'
|
||||||
TIMIDITY='/usr/bin/timidity'
|
TIMIDITY='/usr/bin/timidity'
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,11 @@ trap clean EXIT TERM INT
|
||||||
|
|
||||||
./music.sh &
|
./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
|
su ${USERNAME} -c ./groomer.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,10 @@ apt-get autoremove
|
||||||
apt-get install libreoffice p7zip-full libfontforge1 timidity
|
apt-get install libreoffice p7zip-full libfontforge1 timidity
|
||||||
dpkg -i libpoppler37*.deb pdf2htmlex*.deb
|
dpkg -i libpoppler37*.deb pdf2htmlex*.deb
|
||||||
|
|
||||||
|
pushd /home/kitten
|
||||||
|
ln -s /tmp/libreoffice
|
||||||
|
popd
|
||||||
|
|
||||||
chown -R kitten:kitten /home/kitten
|
chown -R kitten:kitten /home/kitten
|
||||||
|
|
||||||
rm /etc/mtab
|
rm /etc/mtab
|
||||||
|
|
Loading…
Reference in New Issue