0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.85.123


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/policykit-1.preinst

#!/bin/sh
set -e

case "$1" in
    install|upgrade)
        # avoid attempts to start polkit.service while we are unconfigured and
        # might not yet have our D-Bus policy in /etc
        if [ -d /run/systemd/system ]; then
            systemctl mask --runtime polkit.service
        fi
        ;;

    abort-upgrade)
        if [ -d /run/systemd/system ]; then
            systemctl unmask --runtime polkit.service
        fi
        ;;
esac