Server IP : 85.214.239.14 / Your IP : 3.138.60.175 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/2/root/proc/2/cwd/proc/self/root/var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh set -e if [ "$1" = "configure" ]; then # If a new install, or an upgrade from 3.3.2-2 or earlier... if ! getent passwd debian-spamd > /dev/null ; then adduser --system --group --disabled-login --disabled-password \ --home /var/lib/spamassassin --no-create-home \ debian-spamd fi OWNER=$(stat -c '%U' /var/lib/spamassassin) GROUP=$(stat -c '%G' /var/lib/spamassassin) # Lets debian-spamd claim ownership of spamassassin updates on upgrades, # unless the user has overridden. if ! dpkg-statoverride --list /var/lib/spamassassin/* >/dev/null && \ [ "$OWNER:$GROUP" != "debian-spamd:debian-spamd" ]; then chown debian-spamd:debian-spamd /var/lib/spamassassin OWNER=debian-spamd GROUP=debian-spamd fi test -d /var/lib/spamassassin/sa-update-keys || \ install -d -o $OWNER -g $GROUP -m 700 /var/lib/spamassassin/sa-update-keys # If gnupg is not available when spamassassin is installed, but # is subsequently made available, you'll need to execute # `dpkg-reconfigure spamassassin` in order to enable sa-update # functionality. if command -v gpg > /dev/null; then env -i LANG="$LANG" PATH="$PATH" http_proxy="$http_proxy" \ OWNER="$OWNER" GROUP="$GROUP" \ runuser -u "$OWNER" --group "$GROUP" -- \ /usr/bin/sa-update \ --gpghomedir /var/lib/spamassassin/sa-update-keys \ --import /usr/share/spamassassin/GPG.KEY fi fi # Automatically added by dh_installsystemd/13.11.4 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if deb-systemd-helper debian-installed 'spamassassin-maintenance.timer'; then # The following line should be removed in trixie or trixie+1 deb-systemd-helper unmask 'spamassassin-maintenance.timer' >/dev/null || true if deb-systemd-helper --quiet was-enabled 'spamassassin-maintenance.timer'; then # Create new symlinks, if any. deb-systemd-helper enable 'spamassassin-maintenance.timer' >/dev/null || true fi fi # Update the statefile to add new symlinks (if any), which need to be cleaned # up on purge. Also remove old symlinks. deb-systemd-helper update-state 'spamassassin-maintenance.timer' >/dev/null || true fi # End automatically added section # Preserve the CRON=1 setting from /etc/default/spamassassin as we # migrate to systemd timers. if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -n "$2" ] && dpkg --compare-versions "$2" lt 4.0.0~0.0svn1879217-1; then CRON=0 [ -f /etc/default/spamassassin ] && . /etc/default/spamassassin if [ "$CRON" != 0 ]; then deb-systemd-helper unmask 'spamassassin-maintenance.timer' || true deb-systemd-helper reenable 'spamassassin-maintenance.timer' || true fi fi fi