Drupal 7 git update problems on pantarei_siren profile

When using Drupal 7 pantarei_siren profile, you may have a problem because the git original may have some conflicit in some version in the middle and some files/directories permission problem.

Run the follow commands may ease your pain:

 

chmod u+w sites/*
chmod u+w .
rm includes/json-encode.inc
rm modules/block/tests/themes/block_test_theme/block_test_theme.info
rm modules/block/tests/themes/block_test_theme/page.tpl.php
rm modules/simpletest/tests/theme_test.template_test.tpl.php
rm modules/simpletest/tests/themes/test_theme/template.php
rm modules/simpletest/tests/themes/test_theme/test_theme.info
rm modules/simpletest/tests/upgrade/drupal-6.node_type_broken.database.php
rm modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info
rm modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info
rm -rf profiles/pantarei_siren
git checkout -- .
git pull
chmod u-w sites/

 

Fix your owned permissions setting in before and after by yourself :>