--- ./setup.sh.gege Wed Apr 25 19:01:42 2001 +++ ./setup.sh Wed Apr 25 19:31:44 2001 @@ -447,6 +447,13 @@ grep logclear= $config_dir/miniserv.conf >> $config_dir/config fi fi +theme_value=`grep "^theme=" $config_dir/config | sed -e 's/theme=//g'` +if [ -n "$theme_value" ]; then + root_value=`grep "^root=" $config_dir/miniserv.conf | sed -e 's/root=//g'` + echo "A theme is configured, updating miniserv config file (theme is $theme_value)" + echo "preroot=$root_value/$theme_value" >> $config_dir/miniserv.conf +fi + echo $ver > $config_dir/version echo "..done" echo ""