Commits

Mikhail Korobov committed 59a1965

Fix for bzr installation

Comments (0)

Files changed (1)

fab_deploy/system.py

 
         'screen', 'locales-all', 'curl',
         'memcached',
-        '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
 
 
 @run_as('root')
-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,))
 
 
 #@run_as('root')