summaryrefslogtreecommitdiff
path: root/testing/blender/blender.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-18 05:50:22 +0000
committerroot <root@rshg047.dnsready.net>2011-04-18 05:50:22 +0000
commit6ca29e0c62691c1f3120dda0f6b59dbb86cc9295 (patch)
treef5316be783bd7c6686356e0dcd4c5ed9777e1eb4 /testing/blender/blender.install
parent049af7a95b01eba14d33586ad5852dddaf107e53 (diff)
Mon Apr 18 05:50:22 UTC 2011
Diffstat (limited to 'testing/blender/blender.install')
-rw-r--r--testing/blender/blender.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/blender/blender.install b/testing/blender/blender.install
new file mode 100644
index 000000000..2fcf98022
--- /dev/null
+++ b/testing/blender/blender.install
@@ -0,0 +1,27 @@
+post_install() {
+ cat << EOF
+
+NOTE
+----
+
+We also ship the plugins, but most of these features can be accessed only
+from the users home directory. Therefore, you want to copy everything from
+/usr/share/blender/2.57 to ~/.blender (some are hidden files!).
+
+EOF
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_remove() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}