From: Steve Langasek Date: Wed, 15 May 2013 19:34:25 +0000 (+0000) Subject: debian/rules: fix the build on Ubuntu derivatives when building only the arch-depende... X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1cf367fc6f22537d1b56d59389bae5ae6939e7d0;p=lsb.git debian/rules: fix the build on Ubuntu derivatives when building only the arch-dependent packages. --- 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