diff options
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
| -rw-r--r-- | meta/classes/update-rc.d.bbclass | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index e14659d118..9437e9cc31 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass @@ -16,7 +16,7 @@ updatercd_postinst() {  # test if there is a previous init script there, ie, we are updating the package  # if so, we stop the service and remove it before we install from the new package  if type update-rc.d >/dev/null 2>/dev/null; then -	if [ -z "$D" -a `test -f "${INIT_D_DIR}/${INITSCRIPT_NAME}"` ]; then +	if [ -z "$D" -a -f "${INIT_D_DIR}/${INITSCRIPT_NAME}" ]; then  		${INIT_D_DIR}/${INITSCRIPT_NAME} stop  	fi  	if [ -n "$D" ]; then | 
