On 2022-09-22 19:43:24, Jeroen Ploemen wrote: > On Thu, 22 Sep 2022 12:35:12 -0400 > Antoine Beaupré <anar...@debian.org> wrote: > >> I think the simplest solution is not to rewrite the launcher, but to >> rename it. So in debian/rules, you would simply do: >> >> override_dh_auto_install: >> dh_auto_install >> mv debian/git-multimail/usr/bin/git_multimail.py >> debian/git-multimail/usr/bin/git-multimail > > Antoine, IIRC the git_multimail.py file upstream installs into > /usr/bin is not a launcher but a full copy of the module as installed > into /usr/lib/python3. The code in that file auto-detects whether > it's run as a program.
Oh. I misunderstood that, sorry. > That resulted in two copies of that sizeable file in the package I > reviewed back in June. Hence my suggestion - quoted in an earlier > message by Bo - to replace the copy in /usr/bin with a tiny launcher, > reducing the installed size of the package by almost half. Sure, that completely makes sense then, sorry. a. -- À force de ne jamais réfléchir, on a un bonheur stupide - Jean Cocteau