403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/msmtp.postinst
#!/bin/sh

set -e

if [ -e /usr/share/debconf/confmodule ]; then
    . /usr/share/debconf/confmodule
fi

apply_apparmor() {
    enable="$1"
    AA_DIR="/etc/apparmor.d/"
    AA_PROFILE="usr.bin.msmtp"
    AA_CONF="$AA_DIR/$AA_PROFILE"
    AA_DISABLE="$AA_DIR/disable/$AA_PROFILE"
    case "$enable" in
        true)
            rm -f "$AA_DISABLE"
            ;;
        *)
            mkdir -p "$AA_DIR/disable" || true
            if [ -d "$AA_DIR/disable" ] && [ -f "$AA_CONF" ]; then
                ln -sf "$AA_CONF" "$AA_DISABLE"
            fi
            ;;
    esac
}

case $1 in
    configure)
        db_get msmtp/apparmor
        apply_apparmor "$RET"
        ;;
    *)
        exit 0
        ;;
esac

# Automatically added by dh_apparmor/3.0.8-2
if [ "$1" = "configure" ]; then
    APP_PROFILE="/etc/apparmor.d/usr.bin.msmtp"
    if [ -f "$APP_PROFILE" ]; then
        # Add the local/ include
        LOCAL_APP_PROFILE="/etc/apparmor.d/local/usr.bin.msmtp"

        test -e "$LOCAL_APP_PROFILE" || {
            mkdir -p `dirname "$LOCAL_APP_PROFILE"`
            install --mode 644 /dev/null "$LOCAL_APP_PROFILE"
        }

        # Reload the profile, including any abstraction updates
        if aa-enabled --quiet 2>/dev/null; then
            apparmor_parser -r -T -W "$APP_PROFILE" || true
        fi
    fi
fi
# End automatically added section


Youez - 2016 - github.com/yon3zu
LinuXploit