Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

Commit e7af1ce

Browse files
committed
Fix
1 parent 4314c86 commit e7af1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/clone_rm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ rm -f /etc/apache2/sites-{available,enabled}/$target{,-ssl}.conf
3333
domain=$(head -n 1 /etc/hosts.conf | cut -d' ' -f2)
3434
sub=${target#*_}
3535
hostname=$sub.$domain
36-
sed -i /etc/hosts -e "/^127.0.0.1 $hostname/d"
3736
sed -i /etc/hosts.conf -e "/^127.0.0.1 $hostname/d"
37+
/etc/hosts_update.sh
3838

3939
### restart services
4040
/etc/init.d/mysql restart

0 commit comments

Comments
 (0)