12345
This commit is contained in:
		
							parent
							
								
									36c2c3085e
								
							
						
					
					
						commit
						540f10e267
					
				
							
								
								
									
										11
									
								
								install.py
								
								
								
								
							
							
						
						
									
										11
									
								
								install.py
								
								
								
								
							| 
						 | 
					@ -88,6 +88,15 @@ def main():
 | 
				
			||||||
            #добавим в список дистрибутивов новый дебиановкий репозиторий
 | 
					            #добавим в список дистрибутивов новый дебиановкий репозиторий
 | 
				
			||||||
            execute_command('echo -e "\ndeb [trusted=yes] https://mirror.yandex.ru/debian/ buster main contrib non-free"  >> /etc/apt/sources.list')
 | 
					            execute_command('echo -e "\ndeb [trusted=yes] https://mirror.yandex.ru/debian/ buster main contrib non-free"  >> /etc/apt/sources.list')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key 648ACFD622F3D138')
 | 
				
			||||||
 | 
					            execute_command('gpg -a --export 648ACFD622F3D138 | sudo apt-key add - ')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key 0E98404D386FA1D9')
 | 
				
			||||||
 | 
					            execute_command('gpg -a --export 0E98404D386FA1D9 | sudo apt-key add - ')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            execute_command('gpg --keyserver keyserver.ubuntu.com --recv-key DCC9EFBF77E11517')
 | 
				
			||||||
 | 
					            execute_command('gpg -a --export DCC9EFBF77E11517 | sudo apt-key add - ')
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            #обновим списки пакетов
 | 
					            #обновим списки пакетов
 | 
				
			||||||
            execute_command('apt update')
 | 
					            execute_command('apt update')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -96,6 +105,8 @@ def main():
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            #теперь установим snap
 | 
					            #теперь установим snap
 | 
				
			||||||
            execute_command('apt install snapd')
 | 
					            execute_command('apt install snapd')
 | 
				
			||||||
 | 
					            execute_command('sudo ln -s /var/lib/snapd/snap /snap')
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            #следом установим snap-store
 | 
					            #следом установим snap-store
 | 
				
			||||||
            execute_command('snap install snap-store')
 | 
					            execute_command('snap install snap-store')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue