From 1cf367fc6f22537d1b56d59389bae5ae6939e7d0 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 15 May 2013 19:34:25 +0000 Subject: [PATCH] debian/rules: fix the build on Ubuntu derivatives when building only the arch-dependent packages. --- debian/changelog | 2 ++ debian/rules | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2d77d30..db182ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ lsb (4.1+Debian11) UNRELEASED; urgency=low Ubuntu logging functions. * Correct duplicate reference to log_action_end_msg_post in debian/lsb-base.README.Debian. + * debian/rules: fix the build on Ubuntu derivatives when building only the + arch-dependent packages. -- Steve Langasek Wed, 15 May 2013 04:53:22 -0500 diff --git a/debian/rules b/debian/rules index b5690dd..b085272 100755 --- a/debian/rules +++ b/debian/rules @@ -64,7 +64,9 @@ override_dh_python2: override_dh_install: dh_install ifeq ($(derives_from_ubuntu),yes) +ifneq (,$(findstring lsb-base, $(shell dh_listpackages))) cp -p init-functions.d/50-ubuntu-logging debian/lsb-base/lib/lsb/init-functions.d/ +endif override_dh_installdeb: cp debian/lsb-base.maintscript.Ubuntu debian/lsb-base.maintscript -- 2.30.2