<s> """<STR_LIT>""" <EOL> from fabric . operations import sudo <EOL> import os <EOL> from buedafab . operations import exists <EOL> def conditional_install_crontab ( base_path , crontab , user ) : <EOL> """<STR_LIT>""" <EOL> if crontab : <EOL> crontab_path = os . path . join ( base_path , crontab ) <EOL> if crontab and exists ( crontab_path ) : <EOL> sudo ( '<STR_LIT>' % ( user , crontab_path ) ) </s>
