On 5/27/07, John Pye <[EMAIL PROTECTED]> wrote:
I found the original code in GNOME just pops up a message, see check_ntp_support in http://cvs.gnome.org/viewcvs/gnome-system-tools/src/time/time-tool.c?rev=1.17&view=markup
This would mean that the changes are Ubuntu specific, which is understandable. I wasn't specific enough in my first reply, but I meant that you should check Ubuntu's source packages: http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=gnome-system-tools I think the first version that had the automatic install functionality was either Dapper or Edgy. One other thing to watch out for is whether your users prefer su or sudo ( and gksu or gksudo), I'm not sure if there's a standardized way to check for this in Debian.
The following seems mildly related: https://wiki.ubuntu.com/CommandNotFoundMagic
This is different, the packages don't get installed automatically in this case. To everyone else on this thread that somehow thinks this is a bad idea, you should also check out what time-admin does in Feisty. It's simply a prompt that pops up when you try to turn on ntp as a service, which tells you that you need ntp, and asks you if you want to install it. I'm not sure what that specific UI does if the user isn't allowed to sudo, but it can't be worse than not prompting at all. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]