File: 31disable_update_notifier

package info (click to toggle)
casper 1.77%2Bdebian-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 364 kB
  • ctags: 145
  • sloc: sh: 1,835; ansic: 467; makefile: 76; python: 43
file content (26 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

PREREQ=""
DESCRIPTION="Disabling update-notifier..."

. /scripts/casper-functions

prereqs()
{
       echo "$PREREQ"
}

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

log_begin_msg "$DESCRIPTION"

rm -f /root/etc/xdg/autostart/update-notifier.desktop
rm -f /root/usr/share/autostart/adept_notifier_auto.desktop

log_end_msg