0x1949 Team - FAZEMRX - MANAGER
Edit File: alt-php-internal.postrm
#!/bin/bash major_ver=8 minor_ver=2 patch_ver=13 php_version="${major_ver}${minor_ver}" php_version_dot="${major_ver}.${minor_ver}" php_version_slash="${major_ver}\.${minor_ver}" __imunify=1 case "$1" in remove|purge) if [ -z "${__imunify}" ]; then if [ -e /opt/alt/alt-php-config/alt-php-panel-configuration.py ]; then /opt/alt/alt-php-config/alt-php-panel-configuration.py --mode=uninstall --php=${php_version} fi CONF_DIR='/etc/cl.selector' CONF_PATH="$CONF_DIR/selector.conf" VERS=${php_version_slash} if [ -e $CONF_PATH ]; then sed -i -e "/\s$VERS/d" $CONF_PATH fi if [ -x /usr/sbin/cagefsctl ]; then /usr/sbin/cagefsctl --wait-lock --remove-cl-alt if [ -x /usr/bin/selectorctl ]; then if /usr/sbin/cagefsctl --wait-lock --list-enabled > /dev/null 2>&1; then for account in `/usr/sbin/cagefsctl --wait-lock --list-enabled | grep -v ' enabled user(s)'`; do selectorctl -u $account -b `selectorctl -c -u $account | awk '{ print $1 }'` || : done fi fi fi fi ;; esac