File: add-apt-repository.sh.epp

package info (click to toggle)
puppet-module-puppetlabs-apt 9.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 572 kB
  • sloc: ruby: 438; sh: 31; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
<%- | Array $command, String $sources_list_d_path, String $sources_list_d_filename | -%>

<%= $command.join(' ') %>

if [ $? -gt 0 ]; then
   rm <%= $sources_list_d_path %>/<%= $sources_list_d_filename %>
   exit 1
fi