#!/usr/bin/env bash

#
# Copyright (C) 2020 VMware, Inc. All Rights Reserved.
#
# Licensed under the GNU General Public License v2 (the "License");
# you may not use this file except in compliance with the License. The terms
# of the License are located in the COPYING file of this distribution.
#

exec > /var/cache/tdnf/cached-updateinfo.txt

tdnf -q --refresh updateinfo | grep -vE '^Refreshing|^Disabling'

exit ${PIPESTATUS[0]}
