Imported Debian patch 3.0.715-1
[darkstat-debian] / debian / templates
diff --git a/debian/templates b/debian/templates
new file mode 100644 (file)
index 0000000..71ca157
--- /dev/null
@@ -0,0 +1,14 @@
+Template: darkstat/upgrade-question/db_purge-2.5-1
+Type: boolean
+Default: true
+_Description: Do you really want to upgrade darkstat ?
+ The database file format of darkstat has changed, and can't be upgraded.
+ .
+ If you confirm the upgrade, the database file
+ /var/lib/darkstat/darkstat.db will be removed (because it will prevent
+ darkstat starting). A new database file will be created from scratch when
+ darkstat restarts.
+ .
+ If you don't confirm the upgrade, the package will be left non-configured,
+ and if you wish to use an older version of darkstat you will have to
+ downgrade manually.