[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force SVN commit: rev 514 - trunk/debian



Author: branden
Date: 2003-09-12 11:13:23 -0500 (Fri, 12 Sep 2003)
New Revision: 514

Modified:
   trunk/debian/xdm.config.in
Log:
debian/xdm.config.in: when reconcling the debconf database with the system,
  only use a non-null value for the answer of
  shared/default-x-dsiplay-manager


Modified: trunk/debian/xdm.config.in
===================================================================
--- trunk/debian/xdm.config.in	2003-09-12 16:10:27 UTC (rev 513)
+++ trunk/debian/xdm.config.in	2003-09-12 16:13:23 UTC (rev 514)
@@ -34,6 +34,9 @@
   # manager file to pre-answer the question if possible
   if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
     CURRENT_DEFAULT=$(basename $(head -n 1 "$DEFAULT_DISPLAY_MANAGER_FILE"))
+    if [ -n "$CURRENT_DEFAULT" ]; then
+      safe_debconf db_set shared/default-x-display-manager "$CURRENT_DEFAULT"
+    fi
   else
     safe_debconf db_get shared/default-x-display-manager
     CURRENT_DEFAULT="$RET"



Reply to: