diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 4b86d847..026256cb 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -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 #" diff --git a/install/upgrades/3.0.0~1.sql b/install/upgrades/3.0.0~1.sql index a39d6d31..865f0c60 100644 --- a/install/upgrades/3.0.0~1.sql +++ b/install/upgrades/3.0.0~1.sql @@ -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.