Skip to content

Commit

Permalink
Merge pull request #468 from jolange/aur-update
Browse files Browse the repository at this point in the history
aur-update: fixes
  • Loading branch information
jolange authored Oct 6, 2022
2 parents aad4d45 + 81abcae commit ce22d76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aur-update/aur-update
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class Args(object):

args = Args()
args.add_argument('UPDATE_COLOR', 'yellow')
args.add_argument('QUIET', False, bool)
args.add_argument('QUIET', 0, int)
args.add_argument('IGNORE', [], list)
args.add_argument('CACHE_UPDATES', False, bool)
args.add_argument('CACHE_UPDATES', 0, int)
args.add_argument('FORCE_IPV4', 1, int)


Expand Down Expand Up @@ -116,6 +116,7 @@ for pkg in installed_version.keys():

# create the message for the block
n_updates = len(updates)
msg = ''
if n_updates > 0:
msg = "<span color='{0}'>{1} AUR updates</span>".format(args.update_color, n_updates)
elif not args.quiet:
Expand Down

0 comments on commit ce22d76

Please sign in to comment.