mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	debian-installer: add apt repo for debian
This commit is contained in:
		@@ -57,7 +57,8 @@
 | 
				
			|||||||
      "maintainer": "Akash Nimare <svnitakash@gmail.com>"
 | 
					      "maintainer": "Akash Nimare <svnitakash@gmail.com>"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "deb": {
 | 
					    "deb": {
 | 
				
			||||||
      "synopsis": "Zulip Desktop App"
 | 
					      "synopsis": "Zulip Desktop App",
 | 
				
			||||||
 | 
					      "afterInstall": "./scripts/debian-add-repo.sh"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "dmg": {
 | 
					    "dmg": {
 | 
				
			||||||
      "background": "build/appdmg.png",
 | 
					      "background": "build/appdmg.png",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								scripts/debian-add-repo.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								scripts/debian-add-repo.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep zulip; then
 | 
				
			||||||
 | 
					  sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
 | 
				
			||||||
 | 
					  echo "deb https://dl.bintray.com/zulip/debian/ stable main" | \
 | 
				
			||||||
 | 
					  sudo tee -a /etc/apt/sources.list.d/zulip.list
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
		Reference in New Issue
	
	Block a user