403Webshell
Server IP : 82.64.35.208  /  Your IP : 172.20.0.1
Web Server : Apache/2.4.67 (Debian)
System : Linux c1d185609d2c 6.12.76-linuxkit #1 SMP Thu May 28 18:54:18 UTC 2026 aarch64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/pkgconf:arm64.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



Youez - 2016 - github.com/yon3zu
LinuXploit