2
0
pycharm-professional/pycharm-professional.install
2016-04-20 10:52:06 -05:00

34 lines
748 B
Plaintext

update_cache() {
update-desktop-database -q
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
update-mime-database /usr/share/mime > /dev/null
}
post_install() {
update_cache
/bin/cat << EOF
===>
===> Please set the Anti-aliasing font settings for Java app
===> adding the following line to the user's file ~/.bash_profile
===> (not in ~/.bashrc):
===>
===> export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=setting'
===>
===> Replace 'setting' with on, lcd, gasp, etc. By default is
===> configured with lcd.
===>
===> Please read the following link for more options:
===> https://wiki.archlinux.org/index.php/Java_Runtime_Environment_Fonts
===>
EOF
}
post_upgrade() {
update_cache
}
post_remove() {
update_cache
}