Révision 3ae9d44b
Ajouté par Julien Enselme il y a presque 10 ans
bin/d7-update-core.sh | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
|
3 |
. /home/assos/bin/scripts-config.sh |
|
4 |
|
|
3 | 5 |
help="This script is intended to help you update drupal core. It fellows steps describe here: https://forge.centrale-marseille.fr/projects/clubdrupal/wiki/Utilisation_de_Drupal_multi-site#Mise-%C3%A0-jour-du-noyau-de-Drupal |
4 | 6 |
Please do not launch in cron." |
5 | 7 |
|
... | ... | |
11 | 13 |
set -e # Exit immediatly if a command exits with a non zero value |
12 | 14 |
|
13 | 15 |
# Backup transaltion |
14 |
$translations_backupdir=/var/tmp
|
|
16 |
translations_backupdir=/var/tmp |
|
15 | 17 |
cp $translations_fr $translations_backupdir |
16 | 18 |
|
17 | 19 |
d7-all-dump-individual.sh manual |
Formats disponibles : Unified diff
Correct bin/d7-update-core.sh (import d7-scripts-config.sh)