[debhelper-devel] Bug#890373: debhelper: Please fix indendation in postinst-systemd-restart

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Wed Feb 14 21:34:16 UTC 2018


Niels Thykier wrote...

> AFAICT from that output, the file is correctly indented in 11.1.4.

Please check using the attached .tar.xz and .dsc. When building with
current sid (i.e. debhelper = 11.1.4), I get in DEBIAN/postinst:

(ca. line 20)
| # Automatically added by dh_systemd_start/11.1.4
| if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ 		if [ -d /run/systemd/system ]; then
+ 			systemctl --system daemon-reload >/dev/null || true
| 		if [ -n "$2" ]; then

     Christoph
-------------- next part --------------
Format: 3.0 (native)
Source: demo
Binary: demo
Architecture: all
Version: 2018.02.14
Maintainer: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Standards-Version: 4.1.3
Build-Depends: debhelper (>= 11~)
Package-List:
 demo deb net optional arch=all
Checksums-Sha1:
 1e162fa034811efe614fa824cad82bd20b039753 708 demo_2018.02.14.tar.xz
Checksums-Sha256:
 583b340a2340cfadd790220fcc04c1b8f42c9c11f209f41052b3d8d8ed9bfdbf 708 demo_2018.02.14.tar.xz
Files:
 5aa326d831c65dee3fa739670bb79eb3 708 demo_2018.02.14.tar.xz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo_2018.02.14.tar.xz
Type: application/x-xz
Size: 708 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180214/5988fa90/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180214/5988fa90/attachment-0002.sig>


More information about the debhelper-devel mailing list