Révision 1c1c5a42
Ajouté par Julien Enselme il y a plus de 10 ans
bin/d7-delete-site.sh | ||
---|---|---|
8 | 8 |
|
9 | 9 |
check_arguments $# 1 "$help" |
10 | 10 |
|
11 |
if ! work_tree_clean ; then |
|
12 |
echo "Your work tree is not clean. Solve this before $0 can continue." |
|
13 |
exit 2 |
|
14 |
fi |
|
15 |
|
|
11 | 16 |
db_password=`ask_password_db $db_server $db_user` |
12 | 17 |
|
13 | 18 |
echo 'Delete database.' |
... | ... | |
40 | 45 |
echo "Don't forget to:" |
41 | 46 |
echo "- Refresh node site on default" |
42 | 47 |
echo "- Check particular behavior (normally detailed on site node)" |
48 |
|
|
49 |
commit "Deletion of site: $d7_site_name" |
Formats disponibles : Unified diff
Script support git as described #343 to implement #191