Some minor changes.
This commit is contained in:
		| @@ -579,7 +579,14 @@ if [ -n "$_vhost_config" ]; then | |||||||
|       if [ -z "$_config_file" ]; then |       if [ -z "$_config_file" ]; then | ||||||
|          continue |          continue | ||||||
|       fi |       fi | ||||||
|  |  | ||||||
|       [[ "$_config_file" =~ /DELETED/ ]] && continue |       [[ "$_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##*.}" |       _extension="${_config_file##*.}" | ||||||
|       if [ "$_extension" = "swp" ] ; then |       if [ "$_extension" = "swp" ] ; then | ||||||
|          continue |          continue | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user