8 Jun
2007
8 Jun
'07
1:50 a.m.
On Jun 7, 2007, at 20:06, Mark Hattam wrote:
Couldn't a version check be done when a user attempts a
sudo port install <somesoftware>
and only if the MacPorts version is up to date, then the install goes ahead, otherwise it echoes a "please update" warning?
Something like that is what I was thinking, yes. However, I wouldn't limit it to "port install"; I'd do it on any "port" command. Also, I wouldn't check every time, as that would be an unnecessary load on the server. That's why I suggested a timestamp file and checking only once a day, say.