5 # initramfs-tools header
21 # live-initramfs header
23 . /scripts/live-functions
25 log_begin_msg "Disabling update-notifier..."
27 # live-initramfs script
29 # For GNOME, we divert away apt-check to avoid a regular 'apt-get update'
30 # equivalent in the live session. We want to run update-notifier for crash
32 chroot /root dpkg-divert --add --rename --quiet \
33 /usr/lib/update-notifier/apt-check
34 ln -s /bin/true /root/usr/lib/update-notifier/apt-check
36 # For KDE, adept_notifier's only useful function at the moment is an
37 # 'apt-get update' equivalent, so we disable it entirely.
38 rm -f /root/usr/share/autostart/adept_notifier_auto.desktop