diff options
author | Stefan Auditor | 2016-01-04 13:13:19 +0100 |
---|---|---|
committer | Stefan Auditor | 2016-01-04 13:13:19 +0100 |
commit | 59de44803bb223e37a73a6490a6a270b39159502 (patch) | |
tree | 7eb19ddc8c911794247b344f5f4493115614e810 /pdepend.install | |
parent | d8a52c28b7ab8658754861adb79ddcad306f30f1 (diff) | |
download | aur-59de44803bb223e37a73a6490a6a270b39159502.tar.gz |
Adjust package to follow PHP 7 packaging changes
Diffstat (limited to 'pdepend.install')
-rw-r--r-- | pdepend.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pdepend.install b/pdepend.install index 847b1d455113..0368bd25df68 100644 --- a/pdepend.install +++ b/pdepend.install @@ -1,6 +1,8 @@ post_install() { - echo - echo "Warning: phar.so and bz2.so must be enabled in your php.ini" + if php -i | grep 'bzip2 compression => disabled' >/dev/null 2>&1; then + echo -e "Warning: bz2.so must be loaded in your php.ini to use ${pkgname}" + 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() { |