Correct import of scripts-config-site.sh
Close #531
Fix chmod -R issue.
Rights are correcly set, non script files are not made executable.
Fix: #1 (github)
Use getopts to print help and to parse script arguments.
Correct the name of the translation_fr variable.
Uncomment sudo lines in d7-create-site.sh and d7-delete-site.sh
Correct the script for nginx.
Command subsitution are not quoted. Quotes posed problems in loop.
Correctly generate map from sites.php.
Adapt script for nginx as described in #394. The location of nginx files are still to be defined.
Variables nginx_site_names and nginx_sites_map are still empty.
Update scritp so they respect the new convention.
Check the number of arguments (and print in needed) before anythin.
must be defined before we create the dummy sql file. Otherwise, the individual db dumps failed.
Switch d7-create-site.sh to drush site-install
Uniformisation: from cmd to $(cmd).
cmd
Maintenant en local dans le jail webassos #374
Commit site creation before exiting, event if we don't init the database.
Correct tests
Correct output of 'boolean' function
site_extits has an invalid return value.
site_extits
Check at the top of the script whether the site exists.
Invalid test for string equality
Must use function to call function in a test
function
Correct variable name error and function call error.
When creating a new site for sync #375, it is unusefull to init the database.
Add a site_exists funcion to know whether a site exists or not.
#364 : Change scripts for the next sites created.
Update chmod: all scripts are executable.
More verbrose when waiting for git.
Manualy add symlink to git.
Take into account 'mv htmltest drupal7'
Use myassos.cnf and myweb.cnf instead of asking for password
Test added for git where posing trouble
We must use to launch function in a subshell, other wise the whole script exit with the instruction 'exit 1' or 'exit 0'. We must use " around variable for test. Otherwise, we get a Unexpected operator error.
Script support git as described #343 to implement #191
Fix problems with sites.php and aliases.drushrc.php
The previous versions of these scripts rewrote both file without any lines. Now the correct lines are written to the file.
Mise en place des aliases de site
Ajout du script qui a généré les aliases Modification de scripts-config.sh pour ajouter l'emplacement du fichier des alias Modification des scripts de création et suppression de site pour la gestion des aliases
Prise en compte sites.php: correction des scripts cronone: pas compris pourquoi il a changé
Prise en compte de sites.php
Mise à jour settings.php
d7-create-site.sh
Il faut créer 4 fichiers vide et non 3 pour que le script de purge des sauvegardes de bdd ne renvoie pas d'erreur. En effet, si ce dernier s'exécute avant qu'il y a eu une autre sauvegarde, il trouvera 3 fichiers soit le nombre de sauvegarde à garder.
Sprint réécriture des scripts
Les scripts ont été renommés et réécrits conformément à une convention afin de les rendre plus modulables.