diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-08 05:25:06 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:01 +0100 |
| commit | 11f6195097148e7b5738ffe29dc16061b2cfd770 (patch) | |
| tree | 0a1eb58c280bc8445d388df9db596054aff5085f /scripts/live-bottom/31disable_update_notifier | |
| parent | cd1f0fd6b0973f46b522aa0d400f7c4eaaaafa49 (diff) | |
| download | live-boot-11f6195097148e7b5738ffe29dc16061b2cfd770.tar.gz live-boot-11f6195097148e7b5738ffe29dc16061b2cfd770.zip | |
Silence a number of annoying and distracting bootup messages.
Diffstat (limited to 'scripts/live-bottom/31disable_update_notifier')
| -rwxr-xr-x | scripts/live-bottom/31disable_update_notifier | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/live-bottom/31disable_update_notifier b/scripts/live-bottom/31disable_update_notifier index e67ce4f..e363049 100755 --- a/scripts/live-bottom/31disable_update_notifier +++ b/scripts/live-bottom/31disable_update_notifier @@ -37,7 +37,10 @@ log_begin_msg "Disabling update-notifier" chroot /root dpkg-divert --add --rename --quiet \ /usr/lib/update-notifier/apt-check -ln -s /bin/true /root/usr/lib/update-notifier/apt-check +if [ -e /root/usr/lib/update-notifier/apt-check ] +then + ln -s /bin/true /root/usr/lib/update-notifier/apt-check +fi # For KDE, adept_notifier's only useful function at the moment is an # 'apt-get update' equivalent, so we disable it entirely. |
