← Back to team overview

unity-design team mailing list archive

Re: Restart Required

 

Here's how i would personally prefer the text to be displayed:

user@machine:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  bogofilter bogofilter-bdb bogofilter-common libwww-perl
  linux-headers-2.6.32-24 linux-headers-2.6.32-24-generic
  linux-image-2.6.32-24-generic linux-libc-dev
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.7MB of archives.
After this operation, 0B of additional disk space will be used.
This operation will require a system restart!
Do you want to continue [Y/n]?


Would that be too cheesy?
I suppose the "Restart Required" state is stored in a variable somewhere in
apt.. ?

>

References