Mercurial > hg > config
changeset 582:0295141d9eeb
stub
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 21 Jan 2014 09:16:36 -0800 |
parents | f7ff0054c7c2 |
children | 0dee1fcf3292 |
files | python/install_config.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/python/install_config.py Tue Jan 21 09:13:35 2014 -0800 +++ b/python/install_config.py Tue Jan 21 09:16:36 2014 -0800 @@ -81,7 +81,7 @@ #@requires(Command('git')) #class GitInstall -class UbuntuPackages(Step): +class DebianPackages(Step): """ubuntu packages to install""" PACKAGES=["mercurial", @@ -99,7 +99,7 @@ "irssi"] def __call__(self): print "Ensure the following packages are installed:" - print "sudo apt-get install %s" % ' '.join(PACKAGES) + print "sudo apt-get install %s" % ' '.join(self.PACKAGES) ### legacy -v- @@ -152,6 +152,7 @@ print "git not installed" +### CLI def main(args=sys.argv[1:]): @@ -172,7 +173,7 @@ options, args = parser.parse_args() # plan steps - steps = [InitializeRepository, UbuntuPackages] + steps = [InitializeRepository, DebianPackages] if options.debian_packages: steps = [DebianPackages]