uninstall script

There is a very basic version of an uninstallation script: https://gitlab.cern.ch/cms-analysis/general/DasAnalysisSystem/gitlab-profile/-/blob/master/uninstall.sh

Such a script may be useful to make space on the disk when needed, while not removing directories that would contain uncommited changes.

However, the script contains a few todos, which I report here:

  • This only works if the code has been installed in the present directory
  • Also remove Core, Darwin, tables repos? (check in case of unpushed changes?)
  • Unset the environment

This script probably needs to be built during the installation to know what to remove.