Skip to content

Commit

Permalink
packaging: bring back '{p,i,n,t}*' legacy checks
Browse files Browse the repository at this point in the history
CMK-15037

Change-Id: I0219c838b1891c3110771ef48be415f2b421599b
  • Loading branch information
mo-ki committed Nov 14, 2023
1 parent c647818 commit a0f068f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omd/packages/check_mk/check_mk.make
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ $(CHECK_MK_INTERMEDIATE_INSTALL): $(SOURCE_BUILT_AGENTS) $(CHECK_MK_BUILD) $(PAC
install -m 644 $(CHECK_MK_RAW_PRECOMPILED_WERKS) $(CHECK_MK_INSTALL_DIR)/share/check_mk/werks

$(MKDIR) $(CHECK_MK_INSTALL_DIR)/share/check_mk/checks
install -m 644 $(REPO_PATH)/cmk/base/legacy_checks/[!__init__.py]* $(CHECK_MK_INSTALL_DIR)/share/check_mk/checks
install -m 644 $(REPO_PATH)/cmk/base/legacy_checks/* $(CHECK_MK_INSTALL_DIR)/share/check_mk/checks
rm $(CHECK_MK_INSTALL_DIR)/share/check_mk/checks/__init__.py
find $(CHECK_MK_INSTALL_DIR)/share/check_mk/checks -type f | sed -e 'p;s~.py$$~~' | xargs -n2 mv

$(MKDIR) $(CHECK_MK_INSTALL_DIR)/share/check_mk/notifications
Expand Down

0 comments on commit a0f068f

Please sign in to comment.