summaryrefslogtreecommitdiffstats
path: root/extra/blender/blender.install
blob: eb2f23198dbbcad73fc95a05faf6ec7d6b87f926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 $*