Should only delete php-cli if it's our symlink

This commit is contained in:
2025-08-08 18:10:35 +00:00
parent 2f95d4c7f8
commit a7bf8b185c

View File

@ -31,7 +31,7 @@ if [[ "$1" == "--purge" ]]; then
# Remove admin user
userdel -r lsadm 2>/dev/null || true
if [[ ! -e /usr/local/bin/php ]]; then
if [[ ! -s /usr/local/bin/php ]]; then
rm -f /usr/local/bin/php
fi