raannakasturi commited on
Commit
c2c07f9
·
1 Parent(s): 89d5b6e

Remove redundant comments from Chrome installation function in app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -4,17 +4,11 @@ import json
4
  import subprocess
5
 
6
  def installChrome():
7
- # Update package list
8
  subprocess.run(['apt-get', 'update'])
9
- # Install wget and unzip
10
  subprocess.run(['apt-get', 'install', '-y', 'wget', 'unzip'])
11
- # Download Google Chrome
12
  subprocess.run(['wget', 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'])
13
- # Install Google Chrome
14
  subprocess.run(['apt-get', 'install', '-y', './google-chrome-stable_current_amd64.deb'])
15
- # Remove the downloaded package
16
  subprocess.run(['rm', 'google-chrome-stable_current_amd64.deb'])
17
- # Clean up
18
  subprocess.run(['apt-get', 'clean'])
19
 
20
 
 
4
  import subprocess
5
 
6
  def installChrome():
 
7
  subprocess.run(['apt-get', 'update'])
 
8
  subprocess.run(['apt-get', 'install', '-y', 'wget', 'unzip'])
 
9
  subprocess.run(['wget', 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'])
 
10
  subprocess.run(['apt-get', 'install', '-y', './google-chrome-stable_current_amd64.deb'])
 
11
  subprocess.run(['rm', 'google-chrome-stable_current_amd64.deb'])
 
12
  subprocess.run(['apt-get', 'clean'])
13
 
14