Révision 6c6343d9
Ajouté par Julien Enselme il y a environ 9 ans
bin/d7-reset-piwik-variables.sh | ||
---|---|---|
85 | 85 |
esac |
86 | 86 |
|
87 | 87 |
# Default is an exception and cannot be treated in the case |
88 |
if echo "$1" | grep -q default ; then
|
|
88 |
if [ "$1" = 'default' ] ; then
|
|
89 | 89 |
piwik_id=101 |
90 | 90 |
fi |
91 | 91 |
|
Formats disponibles : Unified diff
Improve the detection of default with the path of a site.
Use a utilitary function to extract the exact site name from a site path.
Close #572