mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 00:34:41 +00:00
Minor fixes
This commit is contained in:
@@ -57,7 +57,7 @@ func packageToList(l list.Writer, repo string, p pkg.Package) {
|
|||||||
l.AppendItem(p.HumanReadableString())
|
l.AppendItem(p.HumanReadableString())
|
||||||
l.Indent()
|
l.Indent()
|
||||||
l.AppendItem(fmt.Sprintf("Category: %s", p.GetCategory()))
|
l.AppendItem(fmt.Sprintf("Category: %s", p.GetCategory()))
|
||||||
l.AppendItem(fmt.Sprintf("Name: %s", p.GetCategory()))
|
l.AppendItem(fmt.Sprintf("Name: %s", p.GetName()))
|
||||||
l.AppendItem(fmt.Sprintf("Version: %s", p.GetVersion()))
|
l.AppendItem(fmt.Sprintf("Version: %s", p.GetVersion()))
|
||||||
l.AppendItem(fmt.Sprintf("Description: %s", p.GetDescription()))
|
l.AppendItem(fmt.Sprintf("Description: %s", p.GetDescription()))
|
||||||
l.AppendItem(fmt.Sprintf("Repository: %s ", repo))
|
l.AppendItem(fmt.Sprintf("Repository: %s ", repo))
|
||||||
|
@@ -757,12 +757,11 @@ func (l *LuetInstaller) computeUninstall(p pkg.Package, s *System) (pkg.Packages
|
|||||||
}
|
}
|
||||||
func (l *LuetInstaller) Uninstall(p pkg.Package, s *System) error {
|
func (l *LuetInstaller) Uninstall(p pkg.Package, s *System) error {
|
||||||
Spinner(32)
|
Spinner(32)
|
||||||
defer SpinnerStop()
|
|
||||||
|
|
||||||
toUninstall, err := l.computeUninstall(p, s)
|
toUninstall, err := l.computeUninstall(p, s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrap(err, "while computing uninstall")
|
return errors.Wrap(err, "while computing uninstall")
|
||||||
}
|
}
|
||||||
|
SpinnerStop()
|
||||||
|
|
||||||
uninstall := func() error {
|
uninstall := func() error {
|
||||||
for _, p := range toUninstall {
|
for _, p := range toUninstall {
|
||||||
|
Reference in New Issue
Block a user