summarylogtreecommitdiffstats
path: root/pycharm-professional.install
blob: 5a9c374c892df8b8caf94944398da60e10d040eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
}