summaryrefslogtreecommitdiff
path: root/community/gnome-subtitles/gnome-subtitles.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-subtitles/gnome-subtitles.install')
-rw-r--r--community/gnome-subtitles/gnome-subtitles.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/gnome-subtitles/gnome-subtitles.install b/community/gnome-subtitles/gnome-subtitles.install
new file mode 100644
index 000000000..adb0ba085
--- /dev/null
+++ b/community/gnome-subtitles/gnome-subtitles.install
@@ -0,0 +1,22 @@
+pkgname=gnome-subtitles
+
+post_install() {
+ gconfpkg --install $pkgname
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall $pkgname
+}
+
+post_remove() {
+ update-desktop-database -q
+}