gonzalo / gphoto2-updater

Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
http://github.com/gonzalo/gphoto2-updater
292 stars 72 forks source link

Remove -y argument from "apt-get remove" #68

Closed anliec closed 5 years ago

anliec commented 5 years ago

Let the user validate what is going to be deleted. Drawback: no longer one shot, user must confirm each time in the middle of the script But on the other side the script will stop removing package like ubuntu-desktop, blender, shotwell... without asking the user if he really want to do that.

(even if the package is not removed installation run fine, even if everything may not link to the lastest version)

related issue: #57

gonzalo commented 5 years ago

Yes, that's was my first plan but the problem still remains there, you're full desktop is uninstalled just to remove one library! Finally I decided to avoid gphoto and libgphoto2 uninstall and override them if exist with the compiled version. Thanks for your feedback!