From: Phil Blundell Date: Tue, 19 Apr 2005 01:35:12 +0000 (+0000) Subject: add trailing newlines to postinst and postrm in split packages X-Git-Tag: Release-2010-05/1~14393 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea2bf8aff2e2adc65603fd65db5ee0c36f0a1e1c;p=openembedded.git add trailing newlines to postinst and postrm in split packages BKrev: 42646050b9wZ5BDXf6zj1pOZottT1g --- 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: