dont use python in type explorer

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/1.4
Steven Armstrong 14 years ago
parent ec7e836b1d
commit 2bab4ed93b
  1. 8
      conf/type/__apt_ppa/explorer/state

@ -23,6 +23,10 @@
name="$__object_id"
# FIXME: on first run check-apt-repository may not be installed
check-apt-repository "$name" && echo enabled || echo disabled
. /etc/lsb-release
repo_name="${name#ppa:}"
repo_file_name="$(echo "$repo_name" | sed "s:\/:\-:")-${DISTRIB_CODENAME}.list"
[ -f "/etc/apt/sources.list.d/${repo_file_name}" ] && echo enabled || echo disabled

Loading…
Cancel
Save