On Wed, Oct 11, 2017 at 09:17:53PM -0000, Brian Murray wrote:
> There is no apport.init in the debian directory by adding a symlink for
> that to etc/init.d/apport I was able to get a postinst with:
>
> # Automatically added by dh_installinit/10.7.2ubuntu2
> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
> if [ -x "/etc/init.d/apport" ]; then
> update-rc.d apport defaults >/dev/null
> invoke-rc.d apport start || true
> fi
> fi
> # End automatically added section
Yeah, I think telling dh_installinit to do that with -o is similar to
this - from the manpage:
-o, --only-scripts
Only modify postinst/postrm/prerm scripts, do not actually install
any init script, default files,
upstart job or systemd service file. May be useful if the file is
shipped and/or installed by
upstream in a way that doesn't make it easy to let dh_installinit
find it.
That sounds like what we're doing here, and seems to generate the same
code in postinst/postrm.
--
Iain Lane [ [email protected] ]
Debian Developer [ [email protected] ]
Ubuntu Developer [ [email protected] ]
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722801
Title:
apport isn't started on new installs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1722801/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs