dont use python in type explorer

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-23 17:38:28 +01:00
parent ec7e836b1d
commit 2bab4ed93b

View file

@ -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