Skip to contentSkip to conversation

opkg: remove unnecessary extra leading slash in run-postinsts

PATCH New Jonathan Liu 1 participant 1 message May 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opkg: remove unnecessary extra leading slash in run-postinsts

---
 meta/recipes-devtools/opkg/opkg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/opkg/opkg.inc +1 -1
index c34ac5b..631aafc 100644
@@ -69,7 +69,7 @@ if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then
 	# this happens at S98 where our good 'ole packages script used to run
 	echo "#!/bin/sh
 opkg-cl configure ${REDIRECT_CMD}
-rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
+rm -f ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 	chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 fi
Signature · 1 line
1.8.2.3