From 5c62d3895fb18ff03185c484c655573f0d13542c Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Thu, 15 Jul 2021 14:13:30 -0300 Subject: [PATCH] fix check for if its el7 --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index b0f0393..f99c918 100644 --- a/makefile +++ b/makefile @@ -21,7 +21,7 @@ all: default install: mkdir -p $(DESTDIR)/usr/share/cockpit/ cp -rpf navigator $(DESTDIR)/usr/share/cockpit -ifeq ($(DIST),"el7") +ifeq ($(DIST),".el7") sed -i "s/pf-c-button/btn/g;s/pf-m-primary/btn-primary/g;s/pf-m-secondary/btn-default/g;s/pf-m-danger/btn-danger/g" $(DESTDIR)/usr/share/cockpit/navigator/navigator.html sed -i "s/pf-c-button/btn/g;s/pf-m-primary/btn-primary/g;s/pf-m-secondary/btn-default/g;s/pf-m-danger/btn-danger/g" $(DESTDIR)/usr/share/cockpit/navigator/components/ModalPrompt.js endif