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
|
# Remove admin user
|
||||||
userdel -r lsadm 2>/dev/null || true
|
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
|
rm -f /usr/local/bin/php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user