24 May
2008
24 May
'08
6:52 p.m.
Aaron Griffin wrote:
Alrighty, mostly a couple questions:
Would it be an idea to build as the original users who ran srcpac? I guess if you use sudo, that won't quite work... you'd need something pointing back to that user...
I'm a little confused why ${i-*-*-*} doesn't work in all cases. What are you trying to fix with the perl code?
The DB scripts actually do it this way:
getpkgname() { local tmp
tmp=${1##*/} tmp=${tmp%$PKGEXT} tmp=${tmp%-$CARCH} echo ${tmp%-*-*} }
Aaahh ok, there's always a better/correct solution :)! Michael -- Michael Klier