LGTM, but I did a quick test on my desktop running impish and I am seeing an unexpected behaviour. After installing the ubuntu-desktop-installer snap, and dropping this apport hook in /usr/share/apport/package-hooks/ubuntu-desktop-installer.py, when I run `ubuntu-bug ubuntu-desktop-installer` I get an apport dialog that says:
You have two versions of this application installed, which one do you want to report a bug against?
[X] ubuntu-desktop-installer 0+git.4e24174 (stable) snap
[ ] ubuntu-desktop-installer deb package
There is obviously no deb package for ubuntu-desktop-installer, so this is confusing at best.
LGTM, but I did a quick test on my desktop running impish and I am seeing an unexpected behaviour. After installing the ubuntu- desktop- installer snap, and dropping this apport hook in /usr/share/ apport/ package- hooks/ubuntu- desktop- installer. py, when I run `ubuntu-bug ubuntu- desktop- installer` I get an apport dialog that says:
You have two versions of this application installed, which one do you want to report a bug against?
[X] ubuntu- desktop- installer 0+git.4e24174 (stable) snap desktop- installer deb package
[ ] ubuntu-
There is obviously no deb package for ubuntu- desktop- installer, so this is confusing at best.