diff --git a/package/ctcgfw/luci-app-diskman/Makefile b/package/ctcgfw/luci-app-diskman/Makefile index 53544590b2..12fb45a803 100644 --- a/package/ctcgfw/luci-app-diskman/Makefile +++ b/package/ctcgfw/luci-app-diskman/Makefile @@ -75,9 +75,9 @@ define Package/$(PKG_NAME)/install # $(INSTALL_DIR) $(1)/www # cp -pR $(PKG_BUILD_DIR)/htdoc/* $(1)/www $(INSTALL_DIR) $(1)/usr/lib/lua/luci - cp -pR $(PKG_BUILD_DIR)/luasrc/* $(1)/usr/lib/lua/luci/ + cp -pR $(PKG_BUILD_DIR)/applications/$(PKG_NAME)/luasrc/* $(1)/usr/lib/lua/luci/ $(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n - $$(foreach po,$$(shell find $(PKG_BUILD_DIR)/po/*/*.po), \ + $$(foreach po,$$(shell find $(PKG_BUILD_DIR)/applications/$(PKG_NAME)/po/*/*.po), \ po2lmo $$(po) \ $(1)/usr/lib/lua/luci/i18n/diskman.$$(shell echo $$(po) | awk -F'/' '{print $$$$(NF-1)}').lmo;) #po2lmo $(PKG_BUILD_DIR)/po/zh-cn/diskman.po $(1)/usr/lib/lua/luci/i18n/diskman.zh-cn.lmo