post_install() { if php -i | grep 'bzip2 compression => disabled' >/dev/null 2>&1; then echo -e "Warning: bz2.so must be loaded in your php.ini" echo -e "You may use \"sed -i 's/;extension=bz2.so/extension=bz2.so/g' /etc/php/php.ini\" to change your configuration" fi } post_upgrade() { post_install }