summaryrefslogtreecommitdiffstats
path: root/extra/blender/blender.install
diff options
context:
space:
mode:
authorfanch <fanchyannmaria at orange dot fr>2010-06-13 16:36:24 +0200
committerfanch <fanchyannmaria at orange dot fr>2010-06-13 16:36:24 +0200
commita507b2f061cc4a05c9d151f4591590ea84b25ba2 (patch)
treee8f03ab9704a5726bb4d2fbdfb14b4c8e83c05a6 /extra/blender/blender.install
parent5361762d094cc0b4131977e81ca6c966f1ac02e3 (diff)
downloadnutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.gz
nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.bz2
nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.xz
nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.zip
ajout de blender#2.49a-1
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 $*
+