summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-04-19 01:35:12 +0000
committerPhil Blundell <philb@gnu.org>2005-04-19 01:35:12 +0000
commitea2bf8aff2e2adc65603fd65db5ee0c36f0a1e1c (patch)
treee646b186efd46ec3db34fa61bc1b26cb20398886 /classes
parent6cd231e76313efe966147b12ac992ab99235ec7d (diff)
add trailing newlines to postinst and postrm in split packages
BKrev: 42646050b9wZ5BDXf6zj1pOZottT1g
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass4
1 files 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: