diff options
author | Stefan Auditor | 2023-06-12 18:05:58 +0200 |
---|---|---|
committer | Stefan Auditor | 2023-06-12 18:05:58 +0200 |
commit | 4373f54a03f34dbb4ee7ab57e987367dbee47c62 (patch) | |
tree | 645ebf213bae56e5d4f19ba66f4966aa6ddb76f8 /php-box.install | |
parent | ae8424b62d7143294202316b7cbfcfb526e0318e (diff) | |
download | aur-4373f54a03f34dbb4ee7ab57e987367dbee47c62.tar.gz |
Update deps and post_install
Diffstat (limited to 'php-box.install')
-rw-r--r-- | php-box.install | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/php-box.install b/php-box.install index b37a3801718a..30be7f3f554e 100644 --- a/php-box.install +++ b/php-box.install @@ -1,14 +1,15 @@ post_install() { echo - echo "php-box is installed as executable 'php-box'." - if ! /usr/bin/php -i | grep Phar >/dev/null; then + echo "php-box is installed as executable 'box'." + if ! /usr/bin/php -i | grep 'Phar-based phar archives => enabled' >/dev/null; then echo echo "[WARNING] the Phar extension of php must be enabled." echo "[WARNING] check if the line extension=phar.so is commented out in your php.ini" fi - if ! /usr/bin/php -i | grep 'phar.readonly.*Off.*' >/dev/null; then + if ! /usr/bin/php -i | grep 'sodium support => enabled' >/dev/null; then echo - echo "[WARNING] the phar.readonly option of php must be set to 'Off'." + echo "[WARNING] the Sodium extension of php must be enabled." + echo "[WARNING] check if the line extension=sodium.so is commented out in your php.ini" fi } |