summarylogtreecommitdiffstats
path: root/rubymine.install
diff options
context:
space:
mode:
authorMario Finelli2015-06-08 23:25:54 -0400
committerMario Finelli2015-06-08 23:25:54 -0400
commit0cbe4e2d1f406cf3e3289c6d6894f7698b1143d7 (patch)
tree8cce5d5a2515ccd6482b179029aaca8ac63ecac4 /rubymine.install
downloadaur-0cbe4e2d1f406cf3e3289c6d6894f7698b1143d7.tar.gz
Initial import
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..a19ed038dd2e
--- /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/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
+}