# Run this at your site root to upgrade EE # Paths assume your system folder is at site root # http://expressionengine.com/docs/installation/update.html #!/bin/bash # location of the release RELEASE_PATH="/Users/timkelty/Repos/expressionengine/releases/1.6.7" echo "Enter the name of your system folder" read SYS_PATH # update files cp -R "$RELEASE_PATH"/system/core/* ./"$SYS_PATH"/core cp -R "$RELEASE_PATH"/system/cp/* ./"$SYS_PATH"/cp cp -R "$RELEASE_PATH"/system/db/* ./"$SYS_PATH"/db cp -R "$RELEASE_PATH"/system/language/* ./"$SYS_PATH"/language cp -R "$RELEASE_PATH"/system/lib/* ./"$SYS_PATH"/lib cp -R "$RELEASE_PATH"/system/modules/* ./"$SYS_PATH"/modules cp -R "$RELEASE_PATH"/system/plugins/* ./"$SYS_PATH"/plugins cp -R "$RELEASE_PATH"/system/updates/ ./"$SYS_PATH"/updates cp -R "$RELEASE_PATH"/system/update.php ./"$SYS_PATH"/update.php cp -R "$RELEASE_PATH"/system/utilities/* ./"$SYS_PATH"/utilities #verify file permissions chmod 666 ./"$SYS_PATH"/config.php chmod 666 ./"$SYS_PATH"/config_bak.php chmod 777 ./"$SYS_PATH"/cache