Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
upgrade.sh script doesnt update drush installed via pear upgrade drush/drush
Comments
Comment #1
helmo CreditAttribution: helmo commentedIt seems that Drush is dropping support for pear ... https://github.com/drush-ops/drush/issues/445
So we should probably follow?
But yes it is a bit strange that http://community.aegirproject.org/installing/manual#Install_drush shows how to install drush via pear and upgrade.sh does something else.
I see that http://community.aegirproject.org/upgrading/manual#Upgrading_to_Drush_5 does do pear.
When drush is installed system-wide via pear the aegir user will not have write access, so the
if [ -w $DRUSH_DIR ]; then
check will prevent upgrade.sh from upgrading drush.Comment #2
helmo CreditAttribution: helmo at Initfour websolutions commentedSee #2667194: Update upgrade.sh.txt to use phars for drush