From d6d9f851bf049c5aa352a17775214f5e9001c4cd Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 11 Jul 2011 11:39:00 -0300 Subject: libre/file-roller-libre-3.0.2-1 --- libre/file-roller-libre/file-roller.install | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 libre/file-roller-libre/file-roller.install (limited to 'libre/file-roller-libre/file-roller.install') diff --git a/libre/file-roller-libre/file-roller.install b/libre/file-roller-libre/file-roller.install new file mode 100644 index 000000000..182126c39 --- /dev/null +++ b/libre/file-roller-libre/file-roller.install @@ -0,0 +1,23 @@ +pkgname=file-roller + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + 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 +} + -- cgit v1.2.3-54-g00ecf