Date: Tue, 28 Dec 1999 22:45:42 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Sean Jensen-Grey <seanj@speakeasy.org> Cc: Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>, Jay Krell <jay.krell@cornell.edu>, freebsd-questions@FreeBSD.ORG Subject: Re: cvsuping and rebuilding, esp. ports Message-ID: <19991228224542.A47192@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.LNX.4.05.9912281413290.9635-100000@grace.speakeasy.org> References: <19991228214752.A46546@strontium.scientia.demon.co.uk> <Pine.LNX.4.05.9912281413290.9635-100000@grace.speakeasy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Jensen-Grey wrote: >> root@magnesium:/usr/local/etc/cvsup/sup/src-all# pkg_version -c | head >> # >> # bash >> # multiple versions (index has 1.14.7,2.03) >> # >> cd /usr/ports/shells/bash2 >> make >> pkg_delete -f bash-2.03 >> make install > > Exactly what I was talking about! A perfect addendum to my weekly ports-sup cron > job. > > pkg_version -c is a Good Thing. Thanks for bring it to my attention. Well, you can see above, it could be a lot better. I have bash-2.03 installed, and that script would delete it, only to reinstall the same version! I think it should be modified to skip the update if one of the versions in the index is the same to what you have installed. I guess I should get coding rather than whinging though. :-) There's another case if there are multiple versions, when it isn't perfect, but it's still very helpful. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991228224542.A47192>