X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=squirrelmail-cn.git;a=blobdiff_plain;f=debian%2Fconfig;fp=debian%2Fconfig;h=866772f51a1251090f84c49ee3a01e4aace996e0;hp=8cb2686dbc2347239b9916bb7ff5c4dff78c8660;hb=c1f1dc148eacf55a221fb2c4308e5ceebbece9ae;hpb=eca790a4b0339508b37841a5d4cb643d82a4d87b diff --git a/debian/config b/debian/config index 8cb2686..866772f 100644 --- a/debian/config +++ b/debian/config @@ -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