So, while the postinst hook script still has code which never gets executed, this is not really harmful as the dkms call itself prints the same and actually does not return an error on a failure to build. Running the hook more often than required also does not seem to be harmful. It actually helps to have any nvidia driver after upgrades.
So I am closing this one as won't fix. Mario, if you feel to re-open it or pick parts of this if you like.
So, while the postinst hook script still has code which never gets executed, this is not really harmful as the dkms call itself prints the same and actually does not return an error on a failure to build. Running the hook more often than required also does not seem to be harmful. It actually helps to have any nvidia driver after upgrades.
So I am closing this one as won't fix. Mario, if you feel to re-open it or pick parts of this if you like.