Projet

Général

Profil

Révision 1c1c5a42

Ajouté par Julien Enselme il y a plus de 10 ans

Script support git as described #343 to implement #191

Voir les différences:

bin/d7-create-site.sh
9 9
######## Exceptions
10 10
check_arguments $# 1 "$help"
11 11

  
12
if ! work_tree_clean ; then
13
    echo "Your work tree is not clean. Solve this before $0 can continue."
14
    exit 2
15
fi
16

  
12 17
# "-" is forbidden because it provokes database error.
13 18
if [ `echo $1 | grep -` ] ; then
14 19
    echo '"-" is forbidden in the site name'
......
98 103
echo "- Create a node of type \"Site\" on default"
99 104
echo "- Register the webmaster on webmasters@listes.centrale-marseille.fr"
100 105
echo -e "- If line to add to sites.php differs from the line below, please correct it\n\t$site_line_sites_php"
106

  
107
commit "Creation of site: $d7_site_name"

Formats disponibles : Unified diff