3 ms·
> A maintainer could, theoretically, figure out whether its an upgrade or not by checking to see if a version is being passed into it. Or use good old lock fil
by mschuster91 5y ago
> A maintainer could, theoretically, figure out whether its an upgrade or not by checking to see if a version is being passed into it.
Or use good old lock files in the software's data directory to determine what the current state is (e.g. /var/lib/mysql/debian-10.3.flag) and which updates need to be run.
Lock files aren't rocket science.