HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/lsphp80-intl.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 intl; 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