gdk-pixbuf: ensure startup script is well installed
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 9 Dec 2010 09:55:10 +0000 (10:55 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 Dec 2010 23:35:38 +0000 (00:35 +0100)
In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gdk-pixbuf/gdk-pixbuf.mk

index f129e465d6d56ea0e2946ebe50e7ffecc1739d31..cf915bbd08283083da588841517c458aa048f1f5 100644 (file)
@@ -44,7 +44,8 @@ GDK_PIXBUF_DEPENDENCIES += \
        host-pkg-config libglib2
 
 define GDK_PIXBUF_POST_INSTALL_TWEAKS
-       $(INSTALL) -m 755 package/gdk-pixbuf/S26gdk-pixbuf $(TARGET_DIR)/etc/init.d/
+       $(INSTALL) -m 755 -D package/gdk-pixbuf/S26gdk-pixbuf \
+               $(TARGET_DIR)/etc/init.d/S26gdk-pixbuf
 endef
 
 GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS