summarylogtreecommitdiffstats
path: root/rubymine.install
diff options
context:
space:
mode:
Diffstat (limited to 'rubymine.install')
-rw-r--r--rubymine.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/rubymine.install b/rubymine.install
new file mode 100644
index 000000000000..ca78fbd37153
--- /dev/null
+++ b/rubymine.install
@@ -0,0 +1,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
+}