updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / libreoffice-faenza-mod / libreoffice-faenza-mod.install
blobd0454ed7f594f3feda97a1a2b6a03afaa407900d
1 LO_DIR=/usr/lib/libreoffice/basis-link/share/config
3 post_install() {
5 mv $LO_DIR/images_hicontrast.zip $LO_DIR/images_hicontrast.zip.orig  
6 ln -s $LO_DIR/images_faenza.zip $LO_DIR/images_hicontrast.zip
8 cat << _EOF
10 ==> Installation notes:
11     ----------------------------------------
12     Open Libreoffice. 
13     Change icon theme from Options-view menu. 
14     Choose the theme "hicontrast" to apply the Faenza Style
15     
16     You need to reinstall the package after a libreoffice update
17 _EOF
21 post_remove() {
22 imagedir=`ls $LO_DIR/*.orig | cut -d . -f1,2`
24 rm $imagedir
25 mv $imagedir.orig $imagedir
28 pre_upgrade() {
29 post_remove
32 post_upgrade() {
33 post_install
36 # vim:set ts=2 sw=2 et: