PromoFaux / TestRepo

0 stars 1 forks source link

Test #6

Closed PromoFaux closed 6 years ago

PromoFaux commented 7 years ago

The uninstall script could really use some love.

At the moment we've kind of neglected it (The last release where we switched to the install command even neglects to install uninstall.sh into /opt/pihole!)

At the moment, it's a rather heavy handed/laborious script that loops through each of the dependencies on the list, and asks the user if they wish to uninstall them.

It's been suggested that perhaps we keep track of the packages actually installed by basic-install.sh and then just flip that in uninstall.sh so that we're not removing anything the user already had installed...

Is there a command we can use on each package to see if other applications are depending on them?

Ideas welcome...