summarylogtreecommitdiffstats
path: root/mantisbt.install
diff options
context:
space:
mode:
authorMaxime Gauduin2016-08-20 22:17:43 +0200
committerMaxime Gauduin2016-08-20 22:18:51 +0200
commitfd9c1e837b6ccf980b2d760684614b51f76d5a8f (patch)
tree8dbac63cca0cb5fdf60479bd18d7e876563ebd12 /mantisbt.install
downloadaur-fd9c1e837b6ccf980b2d760684614b51f76d5a8f.tar.gz
Move from [community] to AUR
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: