HEX
Server: nginx/1.18.0
System: Linux mail.dakarash.co.id 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/lsphp82-mysql.prerm
#!/bin/sh

#set -ex

#EXTRA#

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
  if [ -e /usr/local/lsws/lsphp82/bin/php-maintscript-helper ] ; then
    . /usr/local/lsws/lsphp82/bin/php-maintscript-helper
  elif [ -e /usr/lib/php/php-maintscript-helper ] ; then
    . /usr/lib/php/php-maintscript-helper
  fi

  for dsoname in mysqli pdo_mysql; do
    if [ -e /usr/local/lsws/lsphp82/bin/phpdismod ] ; then
      /usr/local/lsws/lsphp82/bin/phpdismod ALL ALL ${dsoname}
    elif [ -e /usr/sbin/phpdismod ] ; then
      phpdismod ALL ALL ${dsoname}
    fi
  done
fi


exit 0