KASM-4563 add modifications to desktop launcher for libreoffice in Ubuntu

This commit is contained in:
ryan.kuba 2023-07-11 20:18:58 -04:00
parent 85fa0dafca
commit 5dcf565344
No known key found for this signature in database

View File

@ -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