|  | @@ -361,12 +361,19 @@ function database_reinstall {
 | 
	
		
			
			| 361 | 361 |  }
 | 
	
		
			
			| 362 | 362 |  
 | 
	
		
			
			| 363 | 363 |  function install_rethinkdb {
 | 
	
		
			
			|  | 364 | +    if [[ "$(arch)" == "arm"* ]]; then
 | 
	
		
			
			|  | 365 | +        echo $'rethinkdb does not currently support ARM debian packages'
 | 
	
		
			
			|  | 366 | +        echo $"See http://download.rethinkdb.com/apt/dists/${DEBIAN_VERSION}/main"
 | 
	
		
			
			|  | 367 | +        exit 723723452
 | 
	
		
			
			|  | 368 | +    fi
 | 
	
		
			
			|  | 369 | +
 | 
	
		
			
			| 364 | 370 |      if [ ! -d $INSTALL_DIR ]; then
 | 
	
		
			
			| 365 | 371 |          mkdir -p $INSTALL_DIR
 | 
	
		
			
			| 366 | 372 |      fi
 | 
	
		
			
			| 367 | 373 |  
 | 
	
		
			
			| 368 | 374 |      cd $INSTALL_DIR
 | 
	
		
			
			| 369 |  | -    echo "deb http://download.rethinkdb.com/apt `lsb_release -cs` main" | tee /etc/apt/sources.list.d/rethinkdb.list
 | 
	
		
			
			|  | 375 | +
 | 
	
		
			
			|  | 376 | +    echo "deb http://download.rethinkdb.com/apt $DEBIAN_VERSION main" | tee /etc/apt/sources.list.d/rethinkdb.list
 | 
	
		
			
			| 370 | 377 |  
 | 
	
		
			
			| 371 | 378 |      wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | apt-key add -
 | 
	
		
			
			| 372 | 379 |      apt-get update
 |