summaryrefslogtreecommitdiff
path: root/extra/cheese/cheese.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cheese/cheese.install')
-rw-r--r--extra/cheese/cheese.install16
1 files changed, 4 insertions, 12 deletions
diff --git a/extra/cheese/cheese.install b/extra/cheese/cheese.install
index c042fba42..f7e8c46ac 100644
--- a/extra/cheese/cheese.install
+++ b/extra/cheese/cheese.install
@@ -1,20 +1,12 @@
-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
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- post_install $1
+ post_install
}