summarylogtreecommitdiffstats
path: root/rubymine.install
blob: ca78fbd371538c2a5007646f42651566c951e9cf (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/rubymine7/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
}