Verified Commit 8578cc98 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

turris-diagnostics: add global start script

This only adds script to PATHs.
parent 863ed943
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=turris-diagnostics
PKG_VERSION:=13.1.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.nic.cz/turris/diagnostics.git
......@@ -42,6 +42,9 @@ define Package/$(PKG_NAME)/install
$(RM) -rf $(1)/usr/share/locale/*.pot
$(RM) -rf $(1)/usr/share/locale/*/LC_MESSAGES/*.po*
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) ./files/diagnostics.sh $(1)/usr/bin/turris-diagnostics
$(INSTALL_DIR) $(1)/usr/share/diagnostics/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/diagnostics.sh $(1)/usr/share/diagnostics/diagnostics.sh
......
#!/bin/sh
exec /usr/share/diagnostics/diagnostics.sh "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment