https://t.me/RX1948
Server : Apache
System : Linux enhance01.hostingraja.org 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64
User : webdemo_4 ( 4864)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/lib/dpkg/info/rspamd.prerm
#!/bin/sh

set -eu

case "$1" in
    remove|upgrade|deconfigure)
      # Rspamd web interface doesn't support symlinks and directory traversal
      # remove copied javascript files
      rm -f /usr/share/rspamd/www/js/lib/bootstrap.bundle.min.js
      rm -f /usr/share/rspamd/www/css/bootstrap.min.css
      rm -f /usr/share/rspamd/www/js/lib/jquery.min.js
      rm -f /usr/share/rspamd/www/js/lib/require.min.js

      # path of previous versions
      rm -f /usr/share/rspamd/www/js/lib/bootstrap.min.js
      rm -f /usr/share/rspamd/www/js/lib/jquery-3.3.1.min.js

      # remove copied font files
      rm -f /usr/share/rspamd/www/fonts/glyphicons-halflings-regular.ttf
      rm -f /usr/share/rspamd/www/fonts/glyphicons-halflings-regular.woff
      rm -f /usr/share/rspamd/www/fonts/glyphicons-halflings-regular.woff2
    ;;

    failed-upgrade)
    ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installsystemd/13.5.2ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	deb-systemd-invoke stop 'rspamd.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/13.5.2ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/rspamd" ] ; then
	invoke-rc.d --skip-systemd-native rspamd stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/13.5.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/rspamd/logging.conf 0.6.11\~ rspamd -- "$@"
dpkg-maintscript-helper rm_conffile /etc/rspamd/options.conf 0.6.11\~ rspamd -- "$@"
dpkg-maintscript-helper rm_conffile /etc/rspamd/workers.conf 0.6.11\~ rspamd -- "$@"
# End automatically added section


https://t.me/RX1948 - 2025