tags 599333 +confirmed
thanks

The config script at around 180 introduces this problem.
This would need to be reworked in order to support empty an 
empty webpath.

The patch along the lines of the attached (untested) should fix this
problem.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
Index: debian/config
===================================================================
--- debian/config	(revision 883)
+++ debian/config	(working copy)
@@ -91,7 +91,7 @@
     }
 } else {
     for my $var (sort keys %site_names) {
-        my $val = ${"RT::$var"} || "";
+        my $val = ${"RT::$var"} || "EMPTY";
         my $varname = $site_names{$var};
         print qq($varname="$val"\n);
     }
@@ -184,6 +184,9 @@
     eval value=\"$(echo \${RT_SITE_$i})\"
     eval default=\"$(echo \${RT_SITE_DEFAULT_$i})\"
     if [ -n "$value" ]; then
+        if [ "$value" == "EMPTY" ]; then
+            value="";
+        fi;
         db_set request-tracker3.8/$i "${value}"
         # as the value was set in the configuration file, 
         # mark the question as seen

Reply via email to