diff options
Diffstat (limited to 'testing/file-roller/file-roller.install')
-rw-r--r-- | testing/file-roller/file-roller.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/file-roller/file-roller.install b/testing/file-roller/file-roller.install new file mode 100644 index 000000000..10a148241 --- /dev/null +++ b/testing/file-roller/file-roller.install @@ -0,0 +1,22 @@ +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 +} |