2010-07-05 08:03:22 +08:00
|
|
|
post_install() {
|
|
|
|
cat << EOF
|
|
|
|
|
2011-04-15 23:43:57 +08:00
|
|
|
NOTE
|
|
|
|
----
|
2011-04-29 09:20:25 +08:00
|
|
|
|
|
|
|
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
|
2013-05-29 19:03:58 +08:00
|
|
|
/usr/share/blender/ to ~/.blender (some are hidden files!).
|
2010-07-05 08:03:22 +08:00
|
|
|
|
|
|
|
EOF
|
2011-04-29 09:20:25 +08:00
|
|
|
update-desktop-database -q
|
|
|
|
update-mime-database usr/share/mime &> /dev/null
|
|
|
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
2010-07-05 08:03:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
2011-04-29 09:20:25 +08:00
|
|
|
update-desktop-database -q
|
|
|
|
update-mime-database usr/share/mime &> /dev/null
|
|
|
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
2010-07-05 08:03:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
post_remove() {
|
2011-04-29 09:20:25 +08:00
|
|
|
update-desktop-database -q
|
|
|
|
update-mime-database usr/share/mime &> /dev/null
|
|
|
|
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
2010-07-05 08:03:22 +08:00
|
|
|
}
|