summarylogtreecommitdiffstats
path: root/mantisbt.install
diff options
context:
space:
mode:
Diffstat (limited to 'mantisbt.install')
-rw-r--r--mantisbt.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/mantisbt.install b/mantisbt.install
new file mode 100644
index 00000000000..818f206c13e
--- /dev/null
+++ b/mantisbt.install
@@ -0,0 +1,17 @@
+pre_upgrade() {
+ cd /usr/share/webapps/mantisbt
+
+ cp mantis_offline.php.sample mantis_offline.php
+}
+
+post_upgrade() {
+ cd /usr/share/webapps/mantisbt
+
+ rm mantis_offline.php
+}
+
+post_remove() {
+ rm -rf /usr/share/webapps/mantisbt
+}
+
+# vim: ts=2 sw=2 et: