403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.69
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/dbconfig-common/dpkg/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/dbconfig-common/dpkg/postrm
# -*- mode: sh -*-
###
### source common stuff
###
dbc_go(){
    . /usr/share/dbconfig-common/dpkg/common
    local cfg
    _dbc_debug "(postrm) dbc_go() $@"
    dbc_config "$@" || return $?

    if [ "$dbc_command" = "upgrade" ]; then
        ## With dbconfig-no-thanks installed we don't need to do anything.
        if dbc_no_thanks ; then
            return 0
        fi
        dbc_read_package_config || return $?
        dbc_preseed_package_debconf || return $?
    elif [ "$dbc_command" = "purge" ]; then
        # remove the dbc configuration file
        rm -f /etc/dbconfig-common/$dbc_package.conf || true
        if command -v ucf >/dev/null; then
            cfg="/etc/dbconfig-common/$dbc_package.conf"
            ucf -p "$cfg" || true
            ucfr -p "$dbc_package" "$cfg"
        fi
        # forget everything we ever knew related to debconf+dbc
        for t in $dbc_register_templates; do
            db_unregister $dbc_package/$t || true
        done
    fi
}

Youez - 2016 - github.com/yon3zu
LinuXploit