[gobolinux-users] LocalRecipes versus Recipes
Michael Homer
gobo-users-dufus at wotfun.com
Sun Oct 21 15:23:14 NZDT 2007
On 10/21/07, mpb <mpb.mail at gmail.com> wrote:
> Speaking of LocalRecipes vs. Recipes...
>
> Is there a tool that will tell you which of your LocalRecipes are
> newer than the versions in Recipes?
UpdateRecipes ; for x in /Files/Compile/LocalRecipes/* ; do
p=`basename $x`; l=$(GuessLatest `ls $x`); [[ -e
/Files/Compile/Recipes/$p ]] || { echo "No recipe for $p present";
continue; } ; s=$(GuessLatest $(ls /Files/Compile/Recipes/$p));
n=`GuessLatest $l $s`; [[ ($n == $l) && ($s != $l) ]] && echo "$p $l
is newer than $s" ; done
-Michael
More information about the gobolinux-users
mailing list