minbrowser / min

A fast, minimal browser that protects your privacy
https://minbrowser.org/
Apache License 2.0
7.96k stars 702 forks source link

https://github.com/minbrowser/min/commit/1dcd46dd2219e4f32411fa65a7d1d465138722c2 breaks min updates #2102

Open theofficialgman opened 2 years ago

theofficialgman commented 2 years ago

Expected Behavior

updates from debs succed

Actual Behavior

updates fail due to creating a symlink that already exists commit which caused the issue: https://github.com/minbrowser/min/commit/1dcd46dd2219e4f32411fa65a7d1d465138722c2

To Reproduce

already have min from a previous version (eg: 1.24) sudo apt install ./min-1.26.0-*.deb

Unpacking min (1.26.0) ...
Run sudo xdg-settings set default-web-browser min.desktop && sudo update-alternatives --config x-www-browser to set Min as your default browser.
ln: failed to create symbolic link '/usr/bin/min': File exists
dpkg: error processing package min (--configure):
 installed min package post-installation script subprocess returned error exit status 1

you need to force add the symlink and actually remove the symlink on uninstall