Sindbad~EG File Manager

Current Path : /opt/microsoft/omsconfig/Scripts/
Upload File :
Current File : //opt/microsoft/omsconfig/Scripts/OMSYumUpdates.sh

#!/bin/bash

if [ "$1" = "" ]; then
    yum check-update |  awk '{print $1}' 
    exit ${PIPESTATUS[0]}   
else
    if [ -e "/usr/bin/repoquery" ]; then
	    repoquery --queryformat "Name : %{NAME}\nArch : %{ARCH}\nVersion :  %{EPOCH}:%{VERSION}\nRelease : %{RELEASE}\nRepo : %{REPO}\nBuildtime : %{BUILDTIME}" $*
    else
	    yum info available $*
    fi
fi

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists