From eab0e00d36b5853a096adbe55b3c0937724c0f53 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Mon, 9 Jan 2017 11:44:22 +0100 Subject: Remove unused file All references to it were removed in b89c835e3235f2628b37de15713c311d1b5a4bad --- .../common/openshift-cluster/upgrades/files/rpm_versions.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 playbooks/common/openshift-cluster/upgrades/files/rpm_versions.sh (limited to 'playbooks/common/openshift-cluster/upgrades') diff --git a/playbooks/common/openshift-cluster/upgrades/files/rpm_versions.sh b/playbooks/common/openshift-cluster/upgrades/files/rpm_versions.sh deleted file mode 100644 index 7bf249742..000000000 --- a/playbooks/common/openshift-cluster/upgrades/files/rpm_versions.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -if [ `which dnf 2> /dev/null` ]; then - installed=$(dnf repoquery --installed --latest-limit 1 -d 0 --qf '%{version}-%{release}' "${@}" 2> /dev/null) - available=$(dnf repoquery --available --latest-limit 1 -d 0 --qf '%{version}-%{release}' "${@}" 2> /dev/null) -else - installed=$(repoquery --plugins --pkgnarrow=installed --qf '%{version}-%{release}' "${@}" 2> /dev/null) - available=$(repoquery --plugins --pkgnarrow=available --qf '%{version}-%{release}' "${@}" 2> /dev/null) -fi - -echo "---" -echo "curr_version: ${installed}" -echo "avail_version: ${available}" -- cgit v1.2.3