subconverter: fix soft link to binary

This commit is contained in:
CN_SZTL 2020-02-18 21:53:07 +08:00
parent b420c3781b
commit c3d10ba39d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -72,7 +72,7 @@ define Package/$(PKG_NAME)/install
$(CP) $(PKG_BUILD_DIR)/base/* $(1)/etc/subconverter/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/subconverter.init $(1)/etc/init.d/subconverter
( cd $(1) && ln -sf usr/bin/subconverter etc/subconverter/subconverter )
( cd $(1)/etc/subconverter && ln -sf ../../usr/bin/subconverter subconverter )
endef
$(eval $(call BuildPackage,$(PKG_NAME)))