conntrack-tools: use INSTALL_DIR once
authorJohn Crispin <john@openwrt.org>
Sat, 21 Nov 2015 21:26:12 +0000 (21:26 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 21 Nov 2015 21:26:12 +0000 (21:26 +0000)
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47570

package/network/utils/conntrack-tools/Makefile

index 77e989328d6ce06df90e496bf776b5ab71f8ac60..ad3aa530d2405cc82fbe0ee6d0f1dc914e7a7816 100644 (file)
@@ -72,9 +72,10 @@ define Package/conntrackd/description
 endef
 
 define Package/conntrackd/install
-       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_DIR) \
+               $(1)/etc/init.d \
+               $(1)/usr/sbin
        $(INSTALL_BIN)  $(PKG_INSTALL_DIR)/usr/sbin/conntrackd $(1)/usr/sbin/
-       $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/conntrackd.init $(1)/etc/init.d/conntrackd
 endef