diff options
| author | Mark Goddard <mark@stackhpc.com> | 2020-03-16 15:16:31 +0000 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2020-04-15 14:17:40 +0100 |
| commit | 788978211326093e10795c611971ca8911e2a986 (patch) | |
| tree | 988b081b5d4973bbf93b037a82f540bd6bd28986 /tools/validate-install-command.sh | |
| parent | 53443c5c712f4ec23b859105e94bcd90abc27762 (diff) | |
| download | kolla-788978211326093e10795c611971ca8911e2a986.tar.gz kolla-788978211326093e10795c611971ca8911e2a986.zip | |
CentOS 8: Switch last mentions of yum to dnf
Change-Id: I31e9742793cfb1abff9749083c9ce86000dae1af
Partially-Implements: blueprint centos-rhel-8
Diffstat (limited to 'tools/validate-install-command.sh')
| -rwxr-xr-x | tools/validate-install-command.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/validate-install-command.sh b/tools/validate-install-command.sh index bc7409690..eff67d5cf 100755 --- a/tools/validate-install-command.sh +++ b/tools/validate-install-command.sh @@ -3,8 +3,8 @@ RES=0 for dockerfile in "$@"; do - if grep "apt-get install\|yum install" "$dockerfile"; then - echo "ERROR: $dockerfile has incorrectly formatted install command Should be in the form 'apt-get|yum -y install ...'" >&2 + if grep "apt-get install\|dnf install" "$dockerfile"; then + echo "ERROR: $dockerfile has incorrectly formatted install command Should be in the form 'apt-get|dnf -y install ...'" >&2 RES=1 fi done |
