fix wrong replacements

This commit is contained in:
2015-12-11 20:18:39 +01:00
parent 8dada2a3cd
commit fce72a2115

View File

@@ -90,9 +90,8 @@ if [ "$YN" == "y" ]; then
cp $VIRTUAL/panel.$DOMAIN/config.cfg.sample $VIRTUAL/panel.$DOMAIN/config.cfg
sed -r -i \
-e "s|DOMAIN=.*|DOMAIN=$DOMAIN|" \
-e "s|TOEMAIL=.*|DOMAIN=$DOMAIN|" \
-e "s|FREMAIL=.*|DOMAIN=$DOMAIN|" \
-e "s|SENDMAILPATH=.*|DOMAIN=$DOMAIN|" \
-e "s|TOEMAIL=.*|TOEMAIL=$TOEMAIL|" \
-e "s|FREMAIL=.*|FREMAIL=$FREMAIL|" \
$VIRTUAL/panel.$DOMAIN/config.cfg
# Set htaccess and htpasswd