aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/validate-install-command.sh4
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