mirror of
https://github.com/mudler/luet.git
synced 2025-09-06 01:30:29 +00:00
cmd/tree/validate: Fix order analysis
This commit is contained in:
@@ -185,8 +185,9 @@ func NewTreeValidateCommand() *cobra.Command {
|
|||||||
if withSolver {
|
if withSolver {
|
||||||
Spinner(32)
|
Spinner(32)
|
||||||
solution, err := depSolver.Install(pkg.Packages{r})
|
solution, err := depSolver.Install(pkg.Packages{r})
|
||||||
|
ass := solution.SearchByName(r.GetPackageName())
|
||||||
if err == nil {
|
if err == nil {
|
||||||
_, err = solution.Order(reciper.GetDatabase(), r.GetFingerPrint())
|
_, err = solution.Order(reciper.GetDatabase(), ass.Package.GetFingerPrint())
|
||||||
}
|
}
|
||||||
SpinnerStop()
|
SpinnerStop()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user