Révision 5fbc698e
Ajouté par Julien Enselme il y a plus de 9 ans
bin/scripts-utils.sh | ||
---|---|---|
115 | 115 |
fi |
116 | 116 |
return 1 |
117 | 117 |
} |
118 |
|
|
119 |
update_nginx_map() { |
|
120 |
new_nginx_map_pattern=$(cat $nginx_site_names | tr "\n" "|" | head -c -1) |
|
121 |
sed s+"%%PATTERN%%"+"$new_nginx_map_pattern"+ < $nginx_map_template > $nginx_sites_map |
|
122 |
} |
Formats disponibles : Unified diff
Correctly generate map from sites.php.