summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-19 04:14:14 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-19 04:14:14 +0400
commitdd37b44924249c1e24be6db11827de33cdeb0af5 (patch)
treec10d4f0d020e3ef20a3eeb7666e227c287703121
parent3769023faf4758f944e710480c43cda220821690 (diff)
downloaddebhelper-dyson/9.20130509+dyson2.tar.gz
dh_installinit does nothing on illumosdyson/9.20130509+dyson2
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_installinit5
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f679e973..c84b5e35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (9.20130509+dyson2) unstable; urgency=low
+
+ * dh_installinit does nothing on illumos
+
+ -- Igor Pashev <pashev.igor@gmail.com> Fri, 19 Jul 2013 04:14:03 +0400
+
debhelper (9.20130509+dyson1) unstable; urgency=low
* Use dh_smf in dh sequence if DEB_HOST_ARCH_OS is illumos
diff --git a/dh_installinit b/dh_installinit
index e227006a..1421bf93 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -10,12 +10,17 @@ use strict;
use Debian::Debhelper::Dh_Lib;
use File::Find;
+exit 0 if dpkg_architecture_value('DEB_HOST_ARCH_OS') eq 'illumos';
+
=head1 SYNOPSIS
B<dh_installinit> [S<I<debhelper options>>] [B<--name=>I<name>] [B<-n>] [B<-R>] [B<-r>] [B<-d>] [S<B<--> I<params>>]
=head1 DESCRIPTION
+B<dh_installinit> on illumos-based systems does nothing and is kept only for
+compatibility and consistency.
+
B<dh_installinit> is a debhelper program that is responsible for installing
init scripts with associated defaults files, as well as upstart job files,
and systemd service files into package build directories.