#!/bin/sh

PREREQ=""
DESCRIPTION="Disabling the Discover update notifier on the live system..."

prereqs()
{
       echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
       prereqs
       exit 0
       ;;
esac

. /scripts/casper-functions

log_begin_msg "$DESCRIPTION"

# Live-session only. The notifier is removed from the running live root; the
# installed system keeps it. Updates on a live session have no use.
rm -fv /root/etc/xdg/autostart/org.kde.discover.notifier.desktop

log_end_msg
