Should only delete php-cli if it's our symlink
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user