summaryrefslogtreecommitdiff
path: root/extra/blender/blender.install
blob: 2fcf980221c8bfa01b49b1b47d980f1662bc9461 (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
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
}