403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.197
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
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/geoclue-2.0.postinst
#!/bin/sh
# postinst script for geoclue-2.0
#
# see: dh_installdeb(1)

set -e


case "$1" in
    configure)
        if ! getent group geoclue >/dev/null; then
            addgroup --quiet --system geoclue
        fi
        if ! getent passwd geoclue >/dev/null; then
            adduser --quiet --system --ingroup geoclue --home /var/lib/geoclue --no-create-home geoclue
        fi
        if ! dpkg-statoverride --list /var/lib/geoclue >/dev/null 2>&1; then
            dpkg-statoverride --update --add geoclue geoclue 0755 /var/lib/geoclue
        fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_apparmor/4.1.0~beta1-0ubuntu4
if [ "$1" = "configure" ]; then
    APP_PROFILE="/etc/apparmor.d/usr.libexec.geoclue"
    if [ -f "$APP_PROFILE" ]; then
        # Add the local/ include
        LOCAL_APP_PROFILE="/etc/apparmor.d/local/usr.libexec.geoclue"

        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
# Automatically added by dh_installdeb/13.23ubuntu1
dpkg-maintscript-helper rm_conffile /etc/apparmor.d/usr.libexec.geoclue -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.23ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -d /run/systemd/system ]; then
		systemctl --system daemon-reload >/dev/null || true
		if [ -n "$2" ]; then
			_dh_action=restart
		else
			_dh_action=start
		fi
		deb-systemd-invoke $_dh_action 'geoclue.service' >/dev/null || true
	fi
fi
# End automatically added section


exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit