From ea2bf8aff2e2adc65603fd65db5ee0c36f0a1e1c Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Tue, 19 Apr 2005 01:35:12 +0000 Subject: add trailing newlines to postinst and postrm in split packages BKrev: 42646050b9wZ5BDXf6zj1pOZottT1g --- classes/package.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/package.bbclass b/classes/package.bbclass index 774bd794af..9abecd5550 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -15,9 +15,9 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst return if postinst: - postinst = '#!/bin/sh\n' + postinst + postinst = '#!/bin/sh\n' + postinst + '\n' if postrm: - postrm = '#!/bin/sh\n' + postrm + postrm = '#!/bin/sh\n' + postrm + '\n' if not recursive: objs = os.listdir(dvar + root) else: -- cgit v1.2.3