install: Avoid unnecessarily storing apt key under /root.

This commit is contained in:
Tim Abbott 2016-04-26 15:07:53 -07:00
parent e9416a9fb2
commit bb25b6060e
1 changed files with 1 additions and 2 deletions

View File

@ -15,8 +15,7 @@ DEPLOYMENT_TYPE="${DEPLOYMENT_TYPE:-voyager}"
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::voyager}"
# 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
apt-key add /root/zulip-ppa.asc
wget -qO - https://zulip.com/dist/keys/zulip-ppa.asc | apt-key add -
cat >/etc/apt/sources.list.d/zulip.list <<EOF
deb http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main
deb-src http://ppa.launchpad.net/tabbott/zulip/ubuntu trusty main