Update 'Makefile'

main
ben 1 year ago
parent 0af949b8bc
commit 363c4ffb6f

@ -1,5 +1,4 @@
# LuCI Alpha Theme # LuCI PrivateRouter Theme
# Copyright 2022 derisamedia <yuimizuno86@gmail.com>
# #
# Licensed under the Apache License v2.0 # Licensed under the Apache License v2.0
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
@ -40,6 +39,8 @@ define Package/luci-theme-$(THEME_NAME)/install
$(CP) -a ./template/* $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME)/ 2>/dev/null || true $(CP) -a ./template/* $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME)/ 2>/dev/null || true
$(INSTALL_DIR) $(1)/www/luci-static/resources $(INSTALL_DIR) $(1)/www/luci-static/resources
$(CP) -a ./js/* $(1)/www/luci-static/resources/ 2>/dev/null || true $(CP) -a ./js/* $(1)/www/luci-static/resources/ 2>/dev/null || true
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/dashboard/css/
$(CP) -a ./css/* $(1)/www/luci-static/resources/view/dashboard/css/ 2>/dev/null || true
endef endef
define Package/luci-theme-$(THEME_NAME)/postinst define Package/luci-theme-$(THEME_NAME)/postinst

Loading…
Cancel
Save