elementary / default-settings

Default settings for elementary OS
GNU General Public License v3.0
39 stars 28 forks source link

Remove old profile shell scripts on upgrade #217

Closed davidmhewitt closed 3 years ago

davidmhewitt commented 3 years ago

Even though we've now removed these config files from the package, dpkg won't automatically remove them when newer versions of the package are installed because it doesn't remove config.

This change causes them to be deleted (unless the user has modified them) if the new version of the package being installed <= 6.0.0, so it'll work with the stable release of the package in the future too.