Skip to content

Commit 5a6bef5

Browse files
committed
forcibly rebuild symlink
1 parent 5d040c4 commit 5a6bef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ rebuild_web_domain_conf() {
228228

229229
if [ "$STATS" == 'awstats' ]; then
230230
if [ ! -e "/etc/awstats/$STATS.$domain_idn.conf" ]; then
231-
ln -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf \
231+
ln -f -s $HOMEDIR/$user/conf/web/$STATS.$domain.conf \
232232
/etc/awstats/$STATS.$domain_idn.conf
233233
fi
234234
fi

0 commit comments

Comments
 (0)