HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //var/lib/dpkg/info/pkgconf:amd64.preinst
#!/bin/sh

set -e

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" le '1.8.0-1+'
then
    dpkg-divert --package pkgconf --remove --rename /usr/share/pkg-config-crosswrapper

    for symlink in /usr/bin/*-pkg-config
    do
        [ ! -L $symlink ] && continue
        target="$(readlink -n $symlink)"
        if [ "$target" = /usr/share/pkg-config-crosswrapper ]
        then
            echo Removing leftover symlink $symlink >&2
            rm -f "$symlink"
        fi
    done
fi

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt '1.8.0-7~'
then
    dpkg-divert --package pkgconf --remove --rename /usr/bin/pkg-config
    dpkg-divert --package pkgconf --remove --rename /usr/share/aclocal/pkg.m4
    dpkg-divert --package pkgconf --remove --rename /usr/share/man/man1/pkg-config.1.gz
fi