HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/lsphp80-pspell.prerm
#!/bin/sh

#set -ex

#EXTRA#

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

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


exit 0