mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-28 16:14:25 +02:00
try fixing check for el7
This commit is contained in:
parent
5c62d3895f
commit
51d4a501ea
4
makefile
4
makefile
@ -13,6 +13,8 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Cockpit Navigator. If not, see <https://www.gnu.org/licenses/>.
|
# along with Cockpit Navigator. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
EL7_DIST=.el7
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
|
||||||
@ -21,7 +23,7 @@ all: default
|
|||||||
install:
|
install:
|
||||||
mkdir -p $(DESTDIR)/usr/share/cockpit/
|
mkdir -p $(DESTDIR)/usr/share/cockpit/
|
||||||
cp -rpf navigator $(DESTDIR)/usr/share/cockpit
|
cp -rpf navigator $(DESTDIR)/usr/share/cockpit
|
||||||
ifeq ($(DIST),".el7")
|
ifeq ($(DIST),$(EL7_DIST))
|
||||||
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/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
|
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
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user