diff --git a/clean.go b/clean.go index a9ecf9c7..a2722c34 100644 --- a/clean.go +++ b/clean.go @@ -138,7 +138,7 @@ func cleanAUR(keepInstalled, keepCurrent, removeAll bool) error { } for _, pkg := range remotePackages { - installedBases.set(pkg.Name()) + installedBases.set(pkg.Base()) } for _, file := range files {