diff --git a/install.py b/install.py index 52a2841..9fda6c0 100755 --- a/install.py +++ b/install.py @@ -261,9 +261,17 @@ class Installer: """ if not programs: + ui.info("No programs were specified.", + "Fetching from the configuration file.") programs = sorted(self.conf.keys()) - for program in programs: - self.install_program(program) + for program in programs: + if ui.ask_yes_no("Do you wish to install {}?".format(program)): + self.install_program(program) + else: + ui.info_2("Skipping {}".format(program)) + else: + for program in programs: + self.install_program(program) def install_program(self, program: str) -> None: """Install one program (called by self.install()).