~evarlast/charm-tools/warn-description-newlines

« back to all changes in this revision

Viewing changes to charmtools/generate.py

  • Committer: Marco Ceppi
  • Date: 2014-03-11 13:39:37 UTC
  • mfrom: (314.1.4 charm-tools)
  • Revision ID: marco@ceppi.net-20140311133937-8y7t03cbe96f97xo
Sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        with open(os.path.join(charm_dir, 'tests', '00-setup'), 'w') as f:
94
94
            f.write("""#!/bin/bash
95
95
 
96
 
add-apt-repository ppa:juju/stable
97
 
apt-get update
98
 
apt-get install amulet
 
96
sudo add-apt-repository ppa:juju/stable
 
97
sudo apt-get update
 
98
sudo apt-get install amulet
99
99
""")
100
100
 
101
101
    os.chmod(os.path.join(charm_dir, 'tests', '00-autogen'), 0755)