summarylogtreecommitdiffstats
path: root/mantisbt.install
blob: cee4b79bdcbf0f7d8d17804500b58f60ed46359b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pre_upgrade() {
  cd /usr/share/webapps/mantisbt

  cp mantis_offline.php.sample mantis_offline.php
}

post_upgrade() {
  echo "Please follow the steps from 2. onwards at: https://mantisbt.org/docs/master-1.3.x/en-US/Admin_Guide/html-single/#admin.install.upgrade"
  echo "After upgrading, bring MantisBT back to normal operation mode by deleting mantis_offline.php as follows:"
  echo "rm /usr/share/webapps/mantisbt/mantis_offline.php"
}

post_remove() {
  rm -rf /usr/share/webapps/mantisbt
}

# vim: ts=2 sw=2 et: