smeserver-affa/root/sbin/e-smith/affa-rpmlist.sh

15 lines
374 B
Bash

#!/bin/bash
#
# This script is part of the smeserver-affa package
# Copyright (C) 2008 Michael Weinberger, neddix Stuttgart, Germany
#
#/usr/bin/yum --noplugins list installed\
#|/bin/grep "installed *$"\
#|/bin/sed -e 's/\./ /'\
#|/bin/awk '{printf "%s %s\n", $1,$3}'
#
# Fixing bug 9270: RPMCheck for SME9
/bin/rpm -qa --qf "%{NAME} %{VERSION}-%{RELEASE}\n" | sort -fu