summaryrefslogtreecommitdiff
path: root/testing/cheese/cheese.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cheese/cheese.install')
-rw-r--r--testing/cheese/cheese.install16
1 files changed, 4 insertions, 12 deletions
diff --git a/testing/cheese/cheese.install b/testing/cheese/cheese.install
index c042fba42..f7e8c46ac 100644
--- a/testing/cheese/cheese.install
+++ b/testing/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
}