Add -y option to all apt-get commands
This commit is contained in:
parent
5fc955e405
commit
e5f90f6c0c
@ -7,12 +7,12 @@ class ToolsInstaller:
|
||||
def basic_tools(self):
|
||||
"""Install the most basic tools!"""
|
||||
print("Try to install basic Command-line tools")
|
||||
subprocess.run("apt-get install bleachbit nano xrdp htop bash-completion dialog powertop tree", shell=True)
|
||||
subprocess.run("apt-get install -y bleachbit nano xrdp htop bash-completion dialog powertop tree", shell=True)
|
||||
print("Script ran to completion.")
|
||||
|
||||
def hard_drive_tools(self):
|
||||
"""Install tools to look up smart information from your hard-drives"""
|
||||
subprocess.run("apt-get install smartmontools gsmartcontrol", shell=True)
|
||||
subprocess.run("apt-get install -y smartmontools gsmartcontrol", shell=True)
|
||||
|
||||
def docker(self):
|
||||
"""Install the Docker service on the machine"""
|
||||
|
Loading…
Reference in New Issue
Block a user