]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/blob - add-apt-repository.sh.epp
e23c4857fb84539552002a8ec862053765b26efc
[puppet-modules/puppetlabs-apt.git] / add-apt-repository.sh.epp
1 <%- | Array $command, String $sources_list_d_path, String $sources_list_d_filename | -%>
2
3 <%= $command.join(' ') %>
4
5 if [ $? -gt 0 ]; then
6    rm <%= $sources_list_d_path %>/<%= $sources_list_d_filename %>
7    exit 1
8 fi