forcibly rebuild symlink

This commit is contained in:
Serghey Rodin 2013-04-06 13:24:48 +03:00
commit 5a6bef5e2f

View file

@ -228,7 +228,7 @@ rebuild_web_domain_conf() {
if [ "$STATS" == 'awstats' ]; then
if [ ! -e "/etc/awstats/$STATS.$domain_idn.conf" ]; then
ln -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf \
ln -f -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf \
/etc/awstats/$STATS.$domain_idn.conf
fi
fi