Private
Server IP : 195.201.23.43  /  Your IP : 3.142.221.103
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/self/root/var/lib/dpkg/info/libxml-sax-perl.postinst
#!/bin/sh
## ----------------------------------------------------------------------
## debian/postinst : postinstallation script for libxml-sax-perl
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
set -e

## ----------------------------------------------------------------------
if [ "$1" = configure ]
then
    [ -d /etc/perl/XML/SAX ] || mkdir --parents /etc/perl/XML/SAX
    if which ucfr >/dev/null 2>&1
    then
        ucfr libxml-sax-perl /etc/perl/XML/SAX/ParserDetails.ini 
    fi

    if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.16-0.1
    then
        echo "Migrating the Perl SAX parser information directory."
        # first, move /etc/perl/XML/SAX/ParserDetails.d/ under 
        #             /var/lib/libxml-sax-perl
        for i in /etc/perl/XML/SAX/ParserDetails.d/*
        do
            # the directory should never be missing or empty, but the [ ! -e ]
            # construct handles an unexpanded glob just in case
            [ ! -e "$i" ] || \
            mv "$i" "/var/lib/libxml-sax-perl/ParserDetails.d/50-$(basename $i)"
        done
        [ ! -d /etc/perl/XML/SAX/ParserDetails.d ] || \
            rmdir --ignore-fail-on-non-empty /etc/perl/XML/SAX/ParserDetails.d

        # now downgrade XML::SAX::PurePerl priority by removing it first
        update-perl-sax-parsers --remove XML::SAX::PurePerl
    fi

    update-perl-sax-parsers --add XML::SAX::PurePerl --priority 10
    update-perl-sax-parsers --update
fi

## ---------------------------------------------------------------------- 
## automatically generated debhelper commands


exit 0

## ----------------------------------------------------------------------
Private