Commits

Ruslan Popov committed 0c7e262

Don't update packages cache several times.

Comments (0)

Files changed (1)

fab_deploy/system.py

     sudo("echo 'deb %s' > /etc/apt/sources.list.d/backports.sources.list" % backports[os])
     with settings(warn_only=True):
         sudo('aptitude update')
+        env.conf._APTITUDE_UPDATED = True
 
 @utils.run_as_sudo
 def create_linux_account(pub_key_file, username=None):