|
|
@@ -136,9 +136,11 @@ for domain in $(shell_list) ; do
|
|
|
-e "s/%alias_idn%/${aliases_idn//,/ }/g" \
|
|
|
> $HOMEDIR/$user/conf/web/$STATS.$domain.conf
|
|
|
|
|
|
+
|
|
|
if [ "$STATS" == 'awstats' ]; then
|
|
|
- if [ ! -e "/etc/awstats/$STATS.$domain.conf" ]; then
|
|
|
- ln -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf /etc/awstats/
|
|
|
+ if [ ! -e "/etc/awstats/$STATS.$domain_idn.conf" ]; then
|
|
|
+ ln -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf \
|
|
|
+ /etc/awstats/$STATS.$domain_idn.conf
|
|
|
fi
|
|
|
fi
|
|
|
|