[pacman-dev] [PATCH] repo-add; add option to remove existing package files from disk

William Giokas 1007380 at gmail.com
Wed May 29 22:43:02 EDT 2013


On Thu, May 30, 2013 at 12:23:30PM +1000, Allan McRae wrote:
> On 30/05/13 12:13, William Giokas wrote:
> > 
> > Just one thing. Replace this with:
> > 
> >           local oldfilename="$(awk '/%FILENAME%/ {getline; print}')"
> > 
> > Yeah, the quotes aren't that important, but this way you save spawning a
> > tail process when you could just do it with this. (I just had to do this
> > to get pkgbase entries from db's in one of my pet scripts, so yeah)
> > 
> 
> Note that line is cpoy-paste from just above.  My bet is a bunch of such
> improvements could be made.
> 

I know how I'm going to spend the next few days, then.

-- 
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130529/b9b8cfcb/attachment-0001.asc>


More information about the pacman-dev mailing list