From 94c35d8fb0230361345eea3de37ba0958aee62d5 Mon Sep 17 00:00:00 2001 From: Andreas Litt Date: Fri, 25 Sep 2015 22:02:13 +0200 Subject: [PATCH] Fix 'python-django-guardian' download While the docu on https://www.zulip.org/server.html says: ``` cd /root/zulip ./scripts/setup/install ``` This script downloads the `python-django-guardian_1.3-1~zulip4_all.deb` file to current working dir (`/root/zulip` if you follow the docu), but tries to install it from /root/. This fails obviously. So i changed the download location to /tmp/. --- scripts/lib/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/install b/scripts/lib/install index 407367a0e98f6..ab88533a18f38 100755 --- a/scripts/lib/install +++ b/scripts/lib/install @@ -17,8 +17,8 @@ cp -a /root/zulip/puppet/zulip/files/puppet.conf /etc/puppet/ # Hack to get required python-django-guardian while the PPA build of django-guardian isn't working :( apt-get -y install python-django -wget https://zulip.com/dist/packages/python-django-guardian_1.3-1~zulip4_all.deb -dpkg -i /root/python-django-guardian_1.3-1~zulip4_all.deb +wget -O /tmp/python-django-guardian_1.3-1~zulip4_all.deb https://zulip.com/dist/packages/python-django-guardian_1.3-1~zulip4_all.deb +dpkg -i /tmp/python-django-guardian_1.3-1~zulip4_all.deb mkdir -p /etc/zulip echo -e "[machine]\npuppet_classes = zulip::voyager\ndeploy_type = voyager" > /etc/zulip/zulip.conf