bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

fix bootstrap of pkg from archive #729

Closed gronke closed 5 years ago

gronke commented 5 years ago

The local mirror cache was mistakenly searched for the first file that begins with pkg and ends with .txz. Instead the list of matches is sorted in descending order and the first item (the highest version) is returned. Also the package must start with pkg- (dash added).