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
# 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