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

Fwd: Why does lintian tell me this?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello everybody!

When I'm running lintian on my almost finished package, it tells me:

E: jailkit: duplicate-updaterc.d-calls-in-postinst jailkit
E: jailkit: duplicate-updaterc.d-calls-in-postrm jailkit

But why? I do not see anything duplicate there.

Here are the complete files:

postinst

#!/bin/sh
#DEBHELPER#
set -e
if ! grep /usr/sbin/jk_chrootsh /etc/shells >/dev/null; then \
	echo "/usr/sbin/jk_chrootsh" >> /etc/shells ;\
fi

if [ -x "/etc/init.d/jailkit" ]; then
        update-rc.d jailkit defaults >/dev/null
        if [ -x /usr/sbin/invoke-rc.d ]; then
                invoke-rc.d jailkit start
        else
                /etc/init.d/jailkit start
        fi
fi

exit 0

<EOF>

postrm

#!/bin/sh
#DEBHELPER#
set -e
if [ "$1" = "purge" ] ; then
        update-rc.d jailkit remove >/dev/null
fi

<EOF>

Can you help me, please?

BR,

Björn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iF4EAREIAAYFAk67GQsACgkQ3u1SIc8s7PV2dgEA1reE0MdL7MFctC1TYCA6i9hC
ClL2vtU2LpzIHP8pkTYBAMu11ANPqvSyE+UkXILKNNU43h9FOxMmG23JCUfLMLJQ
=7xOU
-----END PGP SIGNATURE-----


Reply to: