Mikhail Korobov committed 59a1965

Fix for bzr installation

Comments (0)

Files changed (1)


         'screen', 'locales-all', 'curl',
-        'subversion', 'bzr',
+        'subversion',
+    aptitude_install('bzr', options='--without-recommends')
     aptitude_install(" ".join(to_install))
     # git and mercurial are outdated in stable Debian Lenny and don't work with
-def aptitude_install(packages, repo=None, update=False):
+def aptitude_install(packages, repo=None, update=False, options=''):
     if update:
         with settings(warn_only=True):
             run('aptitude update')
     repo_arg = ('-t ' + repo) if repo else ''
-    run('aptitude install %s -y %s' % (repo_arg, packages,))
+    run('aptitude install %s %s -y %s' % (options, repo_arg, packages,))