Some minor changes.
This commit is contained in:
		| @@ -579,7 +579,14 @@ if [ -n "$_vhost_config" ]; then | ||||
|       if [ -z "$_config_file" ]; then | ||||
|          continue | ||||
|       fi | ||||
|  | ||||
|       [[ "$_config_file" =~ /DELETED/ ]] && continue | ||||
|       [[ "$_config_file" =~ /BAK/ ]] && continue | ||||
|  | ||||
|       # - Matches i.e vhosts.2018-01-14-0106 | ||||
|       # - | ||||
|       [[ "$_config_file" =~ /vhosts\.[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{4}/ ]] && continue | ||||
|  | ||||
|       _extension="${_config_file##*.}" | ||||
|       if [ "$_extension" = "swp" ] ; then | ||||
|          continue | ||||
|   | ||||
		Reference in New Issue
	
	Block a user