From 1e4f2783d8c8181c687ba8832c02205597f19f0b Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 17 Jul 2018 17:03:28 +0200 Subject: [PATCH] [fix] bug that make it impossible to launch upgrades properly : alternc_status is overwriten at postinst :/ --- install/mysql.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/mysql.sql b/install/mysql.sql index 26373fd3..556bd341 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -795,7 +795,6 @@ CREATE TABLE IF NOT EXISTS `certificates` ( --- make it re-exec-proof -DELETE FROM alternc_status WHERE name='alternc_version'; -INSERT INTO alternc_status SET name='alternc_version',value='3.5.0.1.sql'; +-- make it re-exec-proof -- BUT don't overwrite existing value ! +INSERT IGNORE INTO alternc_status SET name='alternc_version',value='3.5.0.1.sql';