summaryrefslogtreecommitdiffstats
path: root/extra/blender/blender.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/blender/blender.install')
-rw-r--r--extra/blender/blender.install40
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/blender/blender.install b/extra/blender/blender.install
new file mode 100644
index 000000000..eb2f23198
--- /dev/null
+++ b/extra/blender/blender.install
@@ -0,0 +1,40 @@
+post_install() {
+ cat << EOF
+
+NOTE
+----
+blender is using the NAN makefiles to build, so we can access some better
+features:
+ - i18n support
+ - anti-aliased interface fonts
+ - gameplayer
+We also ship the plugins, but most of these features can be accessed only
+from the users home directory. Therefore, you wanna copy everything from
+/usr/share/blender to ~/.blender (some are hidden files!). The browser-
+plugin builds but is using an old mozilla API, this is why it doesn't work
+and we don't ship it.
+Happy blending!
+
+EOF
+ echo "update desktop mime database..."
+ update-desktop-database
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ /bin/true
+}
+
+post_remove() {
+ echo "update desktop mime database..."
+ update-desktop-database
+}
+
+op=$1
+shift
+
+$op $*
+