make an upgrade script for 0.9.10 to fix an old mail redirect problem
Closes: #673
This commit is contained in:
parent
36165ad8c1
commit
136ae243e8
|
@ -321,6 +321,7 @@ install/reset_root.php -text
|
|||
install/upgrade_check.sh -text
|
||||
install/upgrades/0.9.1.sh -text
|
||||
install/upgrades/0.9.1.sql -text
|
||||
install/upgrades/0.9.10.sh -text
|
||||
install/upgrades/0.9.10.sql -text
|
||||
install/upgrades/0.9.1_migrationldap.php -text
|
||||
install/upgrades/0.9.2.php -text
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# We load local.sh
|
||||
. /etc/alternc/local.sh
|
||||
|
||||
find ${ALTERNC_LOC}/dns -lname "${ALTERNC_LOC}/dns/redir/mail" -print -exec rm -f '{}' \; -exec ln -sf ${ALTERNC_LOC}/bureau/admin/webmail '{}' \;
|
||||
|
||||
rm -rf ${ALTERNC_LOC}/apacheconf
|
||||
/usr/lib/alternc/basedir_prot.sh
|
||||
|
||||
# if apache exists we reload
|
||||
if [ -x /etc/init.d/apache ] ; then
|
||||
invoke-rc.d apache reload
|
||||
invoke-rc.d apache-ssl reload
|
||||
fi
|
||||
|
||||
# if apache2 exists we reload
|
||||
if [ -x /etc/init.d/apache2 ] ; then
|
||||
invoke-rc.d apache2 force-reload
|
||||
fi
|
Loading…
Reference in New Issue