Mikhail Korobov  committed 59a1965

Fix for bzr installation

  • Participants
  • Parent commits 43d6cfd

Comments (0)

Files changed (1)

File fab_deploy/

         '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,))