From 2b6664995c19638a7df65b5a7762aa42adac8512 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 12 Jun 2016 07:09:30 +0300 Subject: drop documentation about package.runit as runscript --- dh_runit | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/dh_runit b/dh_runit index 13caec5..fa19763 100755 --- a/dh_runit +++ b/dh_runit @@ -15,7 +15,7 @@ no warnings 'experimental::signatures'; =head1 SYNOPSIS -B [S>] [B<--no-enable>] +B [S>] =head1 DESCRIPTION @@ -29,11 +29,7 @@ represented by directory under F, containing at least F executable file. Every enabled program is represented by symbolic link under F pointing to some directory under F. -If F.runit> is not executable, but contains shebang -(#!) in first line, it is installed as F/run> and -enabled. - -Alternatively, F.runit> is a list of lines, where +F.runit> is a list of lines, where every line is either starts with hash symbol and considered comment, or contains two or three space-separated words. @@ -51,18 +47,6 @@ or contains two or three space-separated words. # Also, you can explicitly specify name of directory under /etc/sv enable path/to/directory my-preferred-name -=head1 OPTIONS - -=over 4 - -=item B<--no-enable> - -Do not enable any runscripts. Useful, when F.runit> -is the only runscript, in which case you have no other ways to -specify, that it should not be enabled. - -=back - =cut sub ensure_executable($directory) { @@ -76,7 +60,7 @@ sub runit_autoscript($pkg, $script, $sed) { autoscript($pkg, $script, "$script-runit", $sed); } -init(option => { 'no-enable' => \$dh{NO_ENABLE} }); +init(); PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { next if is_udeb($pkg); -- cgit v1.2.3