On Thu, 22 Sep 2022 12:35:12 -0400
Antoine Beaupré <
[email protected]> 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.
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.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmMsnr0ACgkQQoMEoXSN zHpZZBAAi7qte5IznijgM9szsU4DcTmpzn9PRLaGnKjd71iW67jzwJhYUotJAWn4 QnEfD857kR2+qzQHHSMgn/s3sKHyx8U+j/lEwg8CtLSfeGxW5uFoQc+e0A3NUAmA ozWJU916SRKuPGTbiN3jf5SQ7jy85YzYQLa0+KulpCKQHmEKGxVM3pyjWjo3ZP8t XlZJDlv09L/zxxx82sh6GT1ycyC/S8Px9gN/7PUCBaLW5WbbXxJHENLebfZeTko4 a4MmBeDWflCoRnricBTNPW5c1yNdh5PzDiPTpsmLSm9FduPNaO0wVvodH9uNYDik /7BDkI7z/FYEah9nZj4+gz+ulNag2E+8S6ERto0uyS0tYYvetgurmnZ5YGIPasel hioeY83TIXhZGSIpegLFg9Yn7KXxs+WudsYgs1ESuP34LzYtqsLZc5Z0qHiWkZOg DcSzVWe9LgksFCVBaY+UU7BICd2+dlHXiIdHOuQp4ne9Rg8i7ptR2uqB1l9Q05Vb CZg+ZisXfQQSuJyC5LIvG7PEuPAYMkQgaERZZp7jQb0tOWa9BsdeTIQBHgfNiW0d b74QNoVfmbQSZChGYe3/5GE/K0AkGCvmUhpnIenpVM79DUGdcSEgg0dgjVWExgiB gzTutEmJux//ANkwYXUH+1SHoEZbHAO7uoeqi1Uho12Cx2/zmQ0=
=H6iS
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)