blob: 2a1bb03bb7ff06eff07ed12a7d18f89552c633f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
pre_upgrade() {
cd /usr/share/webapps/mantisbt
cp mantis_offline.php.sample mantis_offline.php
}
post_upgrade() {
echo "Please follow the steps from 2.5.2 onwards at: https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#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:
|