mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
33 lines
595 B
Plaintext
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 $*
|