diff options
| author | Zuul <zuul@review.opendev.org> | 2020-04-16 14:03:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2020-04-16 14:03:30 +0000 |
| commit | f0defeafd295459c0532b8296c86543c31a95728 (patch) | |
| tree | b5e02a36af585cc1b08958a9f43f95d0653eba78 /tools | |
| parent | 28ab9cb45162597fb8fec7bd8069b713488ad472 (diff) | |
| parent | 788978211326093e10795c611971ca8911e2a986 (diff) | |
| download | kolla-f0defeafd295459c0532b8296c86543c31a95728.tar.gz kolla-f0defeafd295459c0532b8296c86543c31a95728.zip | |
Merge "CentOS 8: Switch last mentions of yum to dnf"
Diffstat (limited to 'tools')
| -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 |
