diff options
Diffstat (limited to 'extra/cheese/cheese.install')
-rw-r--r-- | extra/cheese/cheese.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/cheese/cheese.install b/extra/cheese/cheese.install new file mode 100644 index 000000000..c042fba42 --- /dev/null +++ b/extra/cheese/cheese.install @@ -0,0 +1,20 @@ +pkgname=cheese + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then + usr/sbin/gconfpkg --uninstall $pkgname + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |