pango: ensure startup script is well installed
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 9 Dec 2010 09:55:11 +0000 (10:55 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 Dec 2010 23:36:58 +0000 (00:36 +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>
CHANGES
package/pango/pango.mk

diff --git a/CHANGES b/CHANGES
index a31fb5d5d2adb2c1989ea0f10f1fec0003ffe5f0..e4d1204347b1f76504880b5af927532124d2c2fc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,8 +5,8 @@
 
        Updated/fixed packages: busybox, dbus, cloop, cups,
        gdk-pixbuf, hostapd, i2c-tools, libconfig, m4, openssh,
-       openssl, qt, rsync, sdl_gfx, sdl_sound, udev, usbutils, xz,
-       zlib
+       openssl, pango, qt, rsync, sdl_gfx, sdl_sound, udev, usbutils,
+       xz, zlib
 
        New packages: dhrystone, lsuio, rsh-redone, whetstone
 
index 373eb8b4c2e2b7f0eb8cd5de4af85448a7c9db59..0556896791b6747d89ec8c9f9d92eda557211a72 100644 (file)
@@ -55,7 +55,8 @@ else
 endif
 
 define PANGO_INSTALL_INITSCRIPT
-       $(INSTALL) -m 755 package/pango/S25pango $(TARGET_DIR)/etc/init.d/
+       $(INSTALL) -m 755 -D package/pango/S25pango \
+               $(TARGET_DIR)/etc/init.d/S25pango
 endef
 
 PANGO_POST_INSTALL_TARGET_HOOKS += PANGO_INSTALL_INITSCRIPT