From 5a6bef5e2fd585ad4086ec4a8f91b6b14a3b757c Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 6 Apr 2013 13:24:48 +0300 Subject: [PATCH] forcibly rebuild symlink --- func/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/rebuild.sh b/func/rebuild.sh index 161d1ba4..a00fbbbc 100644 --- a/func/rebuild.sh +++ b/func/rebuild.sh @@ -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