[sbopkg-users] md5sum of cached source

David Spencer nobbutl at yahoo.co.uk
Wed May 20 13:21:52 UTC 2009


Hi folks,

An issue has shown up with today's upversioning of GoogleEarth.

If sbopkg's get_source function finds a cached source with the right
name, it doesn't check the md5sum.  This is a problem for packages like
GoogleEarth, where the filename of the source doesn't include the
version (it's always just 'GoogleEarthLinux.bin').

I guess a solution might involve moving the current md5sum check below
'if [[ (-z "$SRCNAME") || (! -f "$SRCDIR/$SRCNAME") ]]'.

Hope this is helpful,
Best wishes and thanks for a really nice utility
- Dave Spencer


PS.  It might even be nice to add another choice to the question "Do you
want to use the downloaded $PKG source" --

 - (D)ownload, get a new copy of the source and continue;

but the code's structure would start to get a bit icky, and with the
current choices the user has an obvious workround (just remove the
cached source and rebuild).



More information about the sbopkg-users mailing list