[ubuntu/karmic] base-files 5.0.0ubuntu3 (Accepted)

Laurent Bigonville bigon at ubuntu.com
Fri Jul 10 14:33:11 BST 2009


Hi,

Le Thu, 9 Jul 2009 08:09:12 +0200,
Martin Pitt <martin.pitt at ubuntu.com> a écrit :

> Hello Dustin,
> 
> Dustin Kirkland [2009-07-08 22:05 -0000]:
> > base-files (5.0.0ubuntu3) karmic; urgency=low
> > 
> >   * etc/motd, etc/legal.sh, debian/rules, share/motd.md5sums:
> > pursuant to consultation with Canonical's Legal Department, it is
> > sufficient to display the warranty disclaimer only once per user;
> > move this text out of the stock /etc/motd, and into
> > an /etc/profile.d/legal.sh script; display the text if a certain
> > flag is not detected and touch the flag file
> 
> Thanks for doing this!
> 
> +	touch "$HOME/.legal"
> 
> One request, can we change this to ~/.cache/motd/legal-displayed ?
> 
> ~/.legal sounds way too generic, and it really belongs into ~/.cache/.

Should maybe use $XDG_CACHE_HOME if defined and fallback to ~/.cache/
if not?

my 2¢

Regards

Laurent



More information about the ubuntu-devel mailing list