debian-installer: add apt repo for debian

This commit is contained in:
cPhost
2017-12-03 17:50:17 -05:00
parent 10ef627f59
commit fe9c66d8c2
2 changed files with 9 additions and 1 deletions

View 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