mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Don't print nothing to do every time
When using nocombinedupgrade "there is nothing to do" is printed when insinstalling repo packages. This is because as far as AUR installer is concerned, there is nothing to do. Instead only print that when doing a sysupgrade.
This commit is contained in:
parent
c0c018f005
commit
0ebaa8a750
@ -125,7 +125,9 @@ func install(parser *arguments) error {
|
||||
|
||||
if len(dp.Aur) == 0 {
|
||||
if !config.CombinedUpgrade {
|
||||
fmt.Println(" there is nothing to do")
|
||||
if parser.existsArg("u", "sysupgrade") {
|
||||
fmt.Println(" there is nothing to do")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user