diff options
Diffstat (limited to 'opendnssec.install')
-rw-r--r-- | opendnssec.install | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/opendnssec.install b/opendnssec.install index e9e2eed807a9..c69a27248fb0 100644 --- a/opendnssec.install +++ b/opendnssec.install @@ -16,17 +16,11 @@ post_upgrade() { post_install $1 OLD=$(echo $2 | sed "s/\(.*\)\.\(.*\)\.\(.*\)/\1\.\2/g") NEW=$(echo $1 | sed "s/\(.*\)\.\(.*\)\.\(.*\)/\1\.\2/g") - if [ $OLD != "1.4" -a $NEW == "1.4" ]; then - echo ">> NOTICE: UPGRADE TO 1.4" + if [ $OLD != "2.0" -a $NEW == "2.0" ]; then + echo ">> NOTICE: UPGRADE TO 2.0" echo "This update requires upgrading the database" - echo "Run /usr/share/opendnssec/migrate_adapters_1.sqlite3 on your kasp database" - echo "e.g: sqlite3 kasp.db < /usr/share/opendnssec/migrate_adapters_1.sqlite3" - fi - if [ $OLD != "1.4.8" -a $NEW == "1.4.8" ]; then - echo ">> NOTICE: UPGRADE TO 1.4.8" - echo "This update requires upgrading the database" - echo "Run /usr/share/opendnssec/migrate_1_4_8.sqlite3 on your kasp database" - echo "e.g: sqlite3 kasp.db < /usr/share/opendnssec/migrate_1_4_8.sqlite3" + echo "Read /usr/share/opendnssec/1.4-2.0_db_convert/README.md" + echo "for instructions on how to convert the DB to the new format" fi } |