Révision ef903da4
Ajouté par Julien Enselme il y a plus de 10 ans
other-scripts/d7-sync.sh | ||
---|---|---|
19 | 19 |
exit 0 |
20 | 20 |
fi |
21 | 21 |
|
22 |
root=$(pwd) |
|
22 | 23 |
cd htmltest/sites |
23 | 24 |
if [ $1 = default ] ; then |
24 | 25 |
dir_site=$1 |
... | ... | |
41 | 42 |
ssh assos "rm $remote_sql_file" |
42 | 43 |
|
43 | 44 |
# modify settings.php |
45 |
python3 $root/other-scripts/modify-settings.py settings.local.php |
|
44 | 46 |
|
45 | 47 |
# various drush cmd to finish synchronisation |
46 | 48 |
drush -y dis piwik |
Formats disponibles : Unified diff
These script synchronises the site and make the proper modification to its settings.php