diff options
author | XavierCLL | 2016-04-20 10:52:06 -0500 |
---|---|---|
committer | XavierCLL | 2016-04-20 10:52:06 -0500 |
commit | 99f2dfed97696c3fde6b63d8a99c3ca283407eac (patch) | |
tree | bb5419395c83b02669b8f05438dee767e7291d95 /pycharm-professional.install | |
parent | b35dab29545cc3489437840fc7064fdc482e9157 (diff) | |
download | aur-99f2dfed97696c3fde6b63d8a99c3ca283407eac.tar.gz |
Updated install script
Diffstat (limited to 'pycharm-professional.install')
-rw-r--r-- | pycharm-professional.install | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pycharm-professional.install b/pycharm-professional.install index 43c9f5feb361..5a9c374c892d 100644 --- a/pycharm-professional.install +++ b/pycharm-professional.install @@ -1,6 +1,13 @@ -post_install() { - /bin/cat << EOF +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 @@ -14,10 +21,13 @@ post_install() { ===> Please read the following link for more options: ===> https://wiki.archlinux.org/index.php/Java_Runtime_Environment_Fonts ===> - EOF } post_upgrade() { - post_install + update_cache +} + +post_remove() { + update_cache } |