upgrade.sh script doesnt update drush installed via pear upgrade drush/drush

Comments

helmo’s picture

It 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.

helmo’s picture

Status: Active » Closed (outdated)