[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#874411: missing line breaks in summary of ways maintainers scripts are called (section 6.5)



Package: debian-policy
Version: 4.1.0.0
Severity: minor
Tags: patch

Dear Policy editors,

The subject says it all. A patch is attached.

Cheers,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
From a2a27803fc09ff4c157df7a69db086c3aee8301e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@debian.org>
Date: Tue, 5 Sep 2017 21:11:18 +0200
Subject: [PATCH] Add missing line breaks in summary of ways maintainer scripts
 are called.

---
 policy/ch-maintainerscripts.rst | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/policy/ch-maintainerscripts.rst b/policy/ch-maintainerscripts.rst
index 7d17736..5e097e5 100644
--- a/policy/ch-maintainerscripts.rst
+++ b/policy/ch-maintainerscripts.rst
@@ -106,7 +106,8 @@ old version of a package that is being upgraded from or downgraded from.
 
 The ``preinst`` script may be called in the following ways:
 
-| ``new-preinst`` install ``new-preinst`` install *old-version*
+| ``new-preinst`` install
+| ``new-preinst`` install *old-version*
 | ``new-preinst`` upgrade *old-version*
 
     The package will not yet be unpacked, so the ``preinst`` script
@@ -154,7 +155,8 @@ The ``postinst`` script may be called in the following ways:
 
 The ``prerm`` script may be called in the following ways:
 
-| ``prerm`` remove ``old-prerm`` upgrade *new-version*
+| ``prerm`` remove
+| ``old-prerm`` upgrade *new-version*
 | ``conflictor's-prerm`` remove in-favour package *new-version*
 | ``deconfigured's-prerm`` deconfigure in-favour *package-being-installed* *version* [removing conflicting-package version]
 
@@ -173,7 +175,9 @@ The ``prerm`` script may be called in the following ways:
 
 The ``postrm`` script may be called in the following ways:
 
-| ``postrm`` remove ``postrm`` purge ``old-postrm`` upgrade *new-version*
+| ``postrm`` remove
+| ``postrm`` purge
+| ``old-postrm`` upgrade *new-version*
 | ``disappearer's-postrm`` disappear overwriter *overwriter-version*
 
     The ``postrm`` script is called after the package's files have been
@@ -192,7 +196,8 @@ The ``postrm`` script may be called in the following ways:
     be "Unpacked" or "Half-Configured" but previously had been
     configured and was never removed.
 
-| ``new-postrm`` abort-install ``new-postrm`` abort-install *old-version*
+| ``new-postrm`` abort-install
+| ``new-postrm`` abort-install *old-version*
 | ``new-postrm`` abort-upgrade *old-version*
 
     Called before unpacking the new package as part of the error
-- 
2.11.0

Attachment: signature.asc
Description: PGP signature


Reply to: