summarylogtreecommitdiffstats
path: root/monodevelop.install
diff options
context:
space:
mode:
authormalahx2016-07-01 13:19:15 +0200
committermalahx2016-07-01 13:19:15 +0200
commit6a85ea93f526cd57ff4d445e44ed73725e4b36c6 (patch)
treef3c4da819bff5762e6849b9ff1a2261cfec2bc42 /monodevelop.install
downloadaur-6a85ea93f526cd57ff4d445e44ed73725e4b36c6.tar.gz
initial commit of monodevelop-stable
Diffstat (limited to 'monodevelop.install')
-rw-r--r--monodevelop.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/monodevelop.install b/monodevelop.install
new file mode 100644
index 000000000000..070e6202c866
--- /dev/null
+++ b/monodevelop.install
@@ -0,0 +1,20 @@
+post_install() {
+ update-mime-database /usr/share/mime 1> /dev/null
+ echo "update desktop mime database..."
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ /bin/true
+}
+
+post_remove() {
+ update-mime-database /usr/share/mime 1> /dev/null
+ echo "update desktop mime database..."
+ update-desktop-database -q
+}