Skip to content

Commit

Permalink
Update instalacao.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dokaoista authored Jan 21, 2024
1 parent 0d68cf5 commit 5b0451d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instalacao.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def instalar_categoria(numero_da_categoria, instalador, argumento_do_instalador)
print(f"Instalando ferramentas na categoria {categorias[numero_da_categoria][0]}:")
for ferramenta in categoria:
try:
run([instalador, 'install', ferramenta, argumento_do_instalador])
run([instalador, 'install', ferramenta, argumento_do_instalador, '-o', 'APT::Keep-Downloaded-Packages="false"'])
except Exception as erro:
print(f'Error: {erro}')

Expand All @@ -23,4 +23,4 @@ def instalacao_de_pacotes(escolha, categorias, instalador, argumento_do_instalad
else:
print("Escolha inválida. Tente novamente.")
except:
pass
pass

0 comments on commit 5b0451d

Please sign in to comment.