Package: kmod Version: 29-1 Tags: patch Dear kmod maintainers,
the conversion code in `kmod.postinst` has not done any meaningful work since old-old-stable (Debian 9 Stretch) and can be removed.
Since Debian 9, the guard `dpkg --compare-versions "$2" ge "18-2"` returns true only when `postinst` is called during the first installation (when `$2` = `""`).
However, if kmod is being installed for the first time, `/etc/modules` is going to be empty (modulo comments) and there will be no parameters to be converted to the new format.
A patch that implements the removal can be found at https://salsa.debian.org/md/kmod/-/merge_requests/5
Regards, -- Gioele Barabucci <[email protected]>

