Re: A repo-add replacement?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/09/2011 05:05 PM, Magnus Therning wrote:
I've noticied that repo-add will blindly overwrite the entry of an
already added package with whatever you point it to.  Even if the
existing entry is for a version that is newer.  It basically means
that "repo-add repo.db.tar.gz *.pkg.tar.xz" doesn't work that well :-(

Is there some other tool for building a a repo db that doesn't follow
my instructions so blindly? ;-)

I solved this with a bit of find and sort.

> repo-add repo.db.tar.gz `find . -name "*.pkg.tar.gz" | sort`

Regards, PyroPeter
--
freenode/pyropeter                                         ETAOIN SHRDLU


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux