From 512566f1f2eccc4f58d4e4a9239e8c50dc441469 Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Thu, 17 Oct 2019 18:32:30 +0700
Subject: [PATCH] [*] Config template fix

---
 CMakeLists.txt | 2 +-
 debian/config  | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e993e00c..858dba0de 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ SET( CPACK_GENERATOR "DEB")
 SET( CPACK_PACKAGE_NAME  "${PROJECT_NAME}")
 SET( CPACK_PACKAGE_VERSION_MAJOR 2)
 SET( CPACK_PACKAGE_VERSION_MINOR 4)
-SET( CPACK_PACKAGE_VERSION_PATCH 8)
+SET( CPACK_PACKAGE_VERSION_PATCH 10)
 
 SET( CPACK_SYSTEM_NAME "debian-9.9-amd64")
 SET( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}")
diff --git a/debian/config b/debian/config
index 9a979e0ac..2dc7261f8 100755
--- a/debian/config
+++ b/debian/config
@@ -3,8 +3,6 @@
 
 case "$1" in
 reconfigure|configure)
-   db_input critical cellframe-node/node_type || true 
-   db_go || true 
 
    db_input critical cellframe-node/auto_online || true 
    db_go || true 
@@ -24,6 +22,12 @@ reconfigure|configure)
    db_input low cellframe-node/server_port || true 
    db_go || true 
 
+   db_input critical cellframe-node/kelvin_testnet_enabled || true 
+   db_go || true 
+
+   db_input critical cellframe-node/kelvin_testnet_node_type || true 
+   db_go || true 
+
 ;;
 *)
    echo "config called with unknown argument \`$1'" >&2
-- 
GitLab