dont use python in type explorer
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								ec7e836b1d
							
						
					
				
			
			
				commit
				
					
						2bab4ed93b
					
				
			
		
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue