post_install() { if ! php -i | grep 'PHP Archive support => enabled' >/dev/null 2>&1; then echo echo "Error: phar.so must be enabled in your php.ini" echo exit 1 fi } post_upgrade() { post_install }