fixing upgrade of AltrnC from 1 or 3.0
This commit is contained in:
parent
db9d270de7
commit
e578e4a230
|
@ -28,6 +28,11 @@ then
|
|||
if [ -f "/var/lib/alternc/backups/lastversion" ]
|
||||
then
|
||||
oldvers="`cat /var/lib/alternc/backups/lastversion`"
|
||||
# this is a *version number*, not a *last upgrade script* we have this *border case*
|
||||
if [ "$oldvers" = "3.1" ]
|
||||
then
|
||||
oldvers="3.1.0~b.php"
|
||||
fi
|
||||
else
|
||||
echo "##############################################"
|
||||
echo "# NO VERSION FOUND TO UPGRADE FROM, ABORTING #"
|
||||
|
|
|
@ -413,9 +413,6 @@ update mail_domain, domaines
|
|||
and mail_domain.mail like '%@%'
|
||||
and mail_domain.type = 0
|
||||
and mail_domain.pop = 0;
|
||||
~
|
||||
|
||||
|
||||
|
||||
-- Insert procmail managed addresses.
|
||||
-- Note: those addresses should be treated as local managed adresses.
|
||||
|
|
Loading…
Reference in New Issue