desktop/blender/blender.install
2010-07-05 00:03:22 +00:00

33 lines
595 B
Plaintext

post_install() {
cat << EOF
We 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!).
Happy blending!
EOF
echo "update desktop mime database..."
update-desktop-database
gtk-update-icon-cache /usr/share/icons/hicolor
}
post_upgrade() {
post_install $1
}
pre_remove() {
/bin/true
}
post_remove() {
echo "update desktop mime database..."
update-desktop-database
gtk-update-icon-cache /usr/share/icons/hicolor
}
op=$1
shift
$op $*