From 0ebaa8a7501352a397f42afa39c7dd910a8cf4fd Mon Sep 17 00:00:00 2001 From: morganamilo Date: Tue, 24 Jul 2018 00:13:34 +0100 Subject: [PATCH] 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. --- install.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.go b/install.go index b47bc7e4..6d11e80e 100644 --- a/install.go +++ b/install.go @@ -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 }