Merge remote-tracking branch 'steven/issue_140'

remotes/origin/feature_files_export
Nico Schottelius 12 years ago
commit 67545eda79
  1. 2
      cdist/conf/type/__apt_ppa/explorer/state

@ -26,7 +26,7 @@ name="$__object_id"
. /etc/lsb-release . /etc/lsb-release
repo_name="${name#ppa:}" repo_name="${name#ppa:}"
repo_file_name="$(echo "$repo_name" | sed "s:\/:\-:")-${DISTRIB_CODENAME}.list" repo_file_name="$(echo "$repo_name" | sed -e "s|[/:]|-|" -e "s|\.|_|")-${DISTRIB_CODENAME}.list"
[ -s "/etc/apt/sources.list.d/${repo_file_name}" ] \ [ -s "/etc/apt/sources.list.d/${repo_file_name}" ] \
&& echo present || echo absent && echo present || echo absent

Loading…
Cancel
Save