summaryrefslogtreecommitdiff
path: root/pcr/pyrenamer/pyrenamer.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/pyrenamer/pyrenamer.install')
-rw-r--r--pcr/pyrenamer/pyrenamer.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/pyrenamer/pyrenamer.install b/pcr/pyrenamer/pyrenamer.install
new file mode 100644
index 000000000..3604d0bc0
--- /dev/null
+++ b/pcr/pyrenamer/pyrenamer.install
@@ -0,0 +1,20 @@
+post_install() {
+ gconfpkg --install pyrenamer
+ post_remove $1
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall pyrenamer
+}
+
+post_remove() {
+ update-desktop-database -q
+}