Révision d22487f5
Ajouté par Julien Enselme il y a presque 10 ans
bin/d7-update-core.sh | ||
---|---|---|
18 | 18 |
|
19 | 19 |
d7-all-dump-individual.sh manual |
20 | 20 |
|
21 |
d7-all-update-contrib.sh |
|
22 |
|
|
23 | 21 |
d7-all-drush.sh -y en update |
24 | 22 |
|
25 | 23 |
d7-all-drush.sh -y upc drupal |
... | ... | |
34 | 32 |
drupal_version=$(cd $d7_dir && drush status | grep "Drupal version" | tr -d ' ' | tail -c 3) |
35 | 33 |
|
36 | 34 |
# Try to download new translation. If it fails, restore the old one. |
37 |
if ! curl -f http://ftp.drupal.org/files/translations/7.x/drupal/drupal-7.28.fr.po -o $translations_fr ; then
|
|
35 |
if ! curl -f http://ftp.drupal.org/files/translations/7.x/drupal/drupal-7.$drupal_version.fr.po -o $translations_fr ; then
|
|
38 | 36 |
cp $translations_backupdir/fr.po $translations_fr |
39 | 37 |
fi |
40 | 38 |
|
Formats disponibles : Unified diff
Update bin/d7-update-core.sh.