mirror of https://github.com/zulip/zulip.git
install: Avoid unnecessarily storing apt key under /root.
This commit is contained in:
parent
e9416a9fb2
commit
bb25b6060e
|
@ -15,8 +15,7 @@ DEPLOYMENT_TYPE="${DEPLOYMENT_TYPE:-voyager}"
|
||||||
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::voyager}"
|
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::voyager}"
|
||||||
|
|
||||||
# First, install any updates from the apt repo that may be needed
|
# First, install any updates from the apt repo that may be needed
|
||||||
wget -O /root/zulip-ppa.asc https://zulip.com/dist/keys/zulip-ppa.asc
|
wget -qO - https://zulip.com/dist/keys/zulip-ppa.asc | apt-key add -
|
||||||
apt-key add /root/zulip-ppa.asc
|
|
||||||
cat >/etc/apt/sources.list.d/zulip.list <<EOF
|
cat >/etc/apt/sources.list.d/zulip.list <<EOF
|
||||||
deb http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main
|
deb http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main
|
||||||
deb-src http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main
|
deb-src http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main
|
||||||
|
|
Loading…
Reference in New Issue