summarylogtreecommitdiffstats
path: root/rubymine.install
blob: a19ed038dd2e7d52e3ba91253a1d31f754f1252f (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
_notice() {
    echo
    echo "You can buy a license after the 30-day trial period here:"
    echo "http://www.jetbrains.com/ruby/buy/"
    echo "For licensing information please read /usr/share/licenses/rubymine/license.txt"
}

_update_desktop() {
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
    update-desktop-database -q
}

post_install() {
    _update_desktop
    _notice
}

post_upgrade() {
    _update_desktop
    _notice
}

post_remove() {
    _update_desktop
}