old_contents: import os
  
  def update():
      fetch_dry_run_results = os.popen('git fetch --dry-run').read()
      os.popen('git fetch --all; git reset --hard origin/master').read()
      if not fetch_dy_run_results:
          return
      os.system('sudo pip install -r requirements.txt')
  
  update()
  
new_contents: # wget -q -O - https://raw.githubusercontent.com/peoplesnsallc/peoples_nsa_api/master/install.py | sudo python
  import os
  
  os.system('sudo apt-get install git')
  os.system('sudo apt-get install rethinkdb')
  os.system('git clone https://github.com/peoplesnsallc/peoples_nsa_api.git')
  os.system('cd peoples_nsa_api; python update.py')
  
subject: install script