Reverted back to original debconf variable names.
authorValentin Vidic <vvidic@carnet.hr>
Fri, 28 Dec 2007 17:32:22 +0000 (18:32 +0100)
committerValentin Vidic <vvidic@carnet.hr>
Fri, 28 Dec 2007 17:32:22 +0000 (18:32 +0100)
usr/share/carnet-upgrade/scripts/check_services
usr/share/carnet-upgrade/scripts/debconf_priority

index aa24d6f..ee5a9e6 100755 (executable)
@@ -26,7 +26,7 @@ cs_preupgrade () {
   done
 
   if [ -n "$services" ]; then
-    db_set cn3-upgrade/check-services "$services"
+    db_set cn-upgrade/check-services "$services"
     db_go || true
   fi
 }
@@ -62,7 +62,7 @@ cs_postupgrade () {
       ;;
   esac
 
-  db_get cn3-upgrade/check-services || true
+  db_get cn-upgrade/check-services || true
   services="${RET// /|}"
 
   failed_services=$(
@@ -81,7 +81,7 @@ cs_postupgrade () {
 
 # checkiraj da li je sto zapisano u debconf
 cs_check () {
-  db_get cn3-upgrade/check-services || true
+  db_get cn-upgrade/check-services || true
   debconf="$RET"
 
   if [ -n "$debconf" ]; then
index 7b330c4..028b445 100755 (executable)
@@ -15,7 +15,7 @@ debconf_priority_preupgrade () {
   old_debconf="$RET"
 
   if [ -n "$old_debconf" ]; then
-    db_set cn3-upgrade/debconf-priority "$old_debconf"
+    db_set cn-upgrade/debconf-priority "$old_debconf"
   fi
 
   db_set debconf/priority high
@@ -27,12 +27,12 @@ debconf_priority_preupgrade () {
 debconf_priority_postupgrade () {
   local new_debconf
 
-  db_get cn3-upgrade/debconf-priority || true
+  db_get cn-upgrade/debconf-priority || true
   new_debconf="$RET"
 
   if [ -n "$new_debconf" ]; then
     db_set debconf/priority "$new_debconf"
-    db_set cn3-upgrade/debconf-priority ""
+    db_set cn-upgrade/debconf-priority ""
   fi
 
   db_go || true
@@ -40,7 +40,7 @@ debconf_priority_postupgrade () {
 
 # checkiraj
 debconf_priority_check () {
-  db_get cn3-upgrade/debconf-priority || true
+  db_get cn-upgrade/debconf-priority || true
   debconf="$RET"
 
   if [ -n "$debconf" ]; then