diff options
Diffstat (limited to 'pcr/opendnssec/opendnssec.install')
-rw-r--r-- | pcr/opendnssec/opendnssec.install | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/pcr/opendnssec/opendnssec.install b/pcr/opendnssec/opendnssec.install index e9e2eed80..c69a27248 100644 --- a/pcr/opendnssec/opendnssec.install +++ b/pcr/opendnssec/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 } |