mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-21 23:53:10 +01:00
KASM-4563 add modifications to desktop launcher for libreoffice in Ubuntu
This commit is contained in:
parent
85fa0dafca
commit
5dcf565344
@ -13,6 +13,14 @@ rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
sed -i "s@Exec=libreoffice@Exec=env LD_LIBRARY_PATH=:/usr/lib/libreoffice/program:/usr/lib/$(arch)-linux-gnu/ libreoffice@g" /usr/share/applications/libreoffice-*.desktop
|
||||
cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop/
|
||||
chown 1000:1000 $HOME/Desktop/libreoffice-startcenter.desktop
|
||||
chmod +x $HOME/Desktop/libreoffice-startcenter.desktop
|
||||
|
||||
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||
apt-get autoclean
|
||||
rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user