Upgrade paketa za Debian lenny.
[squirrelmail-cn.git] / debian / config
index 8cb2686..866772f 100644 (file)
@@ -16,11 +16,11 @@ fi
 
 SMDIR="/etc/squirrelmail"
 SMCONF="$SMDIR/config.php"
-change_default=1
 
 
 # Check $default_left_size in SM's config.php
 #
+change_default=1
 if [ -f "$SMCONF" ]; then
         if egrep -q "^[[:space:]]*\\\$default_left_size[[:space:]]*=[[:space:]]*'220'" "$SMCONF"; then
             change_default=0
@@ -39,9 +39,9 @@ fi
 
 # Check $theme_css in SM's config.php
 #
+change_default=1
 if [ -f "$SMCONF" ]; then
-        if egrep -q "^[[:space:]]*\\\$theme_css[[:space:]]*=[[:space:]]*SM_PATH[[:space:]]*\.
-[[:space:]]*'themes\/css\/squirrelmail-cn\.css'" "$SMCONF"; then
+        if egrep -q "^[[:space:]]*\\\$theme_css[[:space:]]*=[[:space:]]*SM_PATH[[:space:]]*\.[[:space:]]*'themes\/css\/squirrelmail-cn\.css'" "$SMCONF"; then
             change_default=0
         fi
 fi