I would like to upgrade Magento 1.5 to 1.6 and NOT to the latest (1.7) version.
I think I need to change something in this line, but I don't know what:
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
I use this:
find . -type f -exec chmod 777 {} \;
find . -type d -exec chmod 777 {} \;
rm -rf var/cache/* var/session/*
chmod 550 ./mage
./mage mage-setup .
./mage config-set preferred_state stable
./mage list-installed
./mage list-upgrades
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;