~johnsca/charms/precise/thinkup/charm-proof

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Nathan Osman
  • Date: 2011-11-20 06:07:35 UTC
  • Revision ID: admin@quickmediasolutions.com-20111120060735-4eb47c8n4fhp6sb7
Made a few corrections to the install hook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
set -e
4
4
 
5
5
juju-log "Installing required packages"
6
 
apt-get install -y libapache2-mod-php5 php5-curl
 
6
apt-get install -y libapache2-mod-php5 php5-curl unzip wget
7
7
 
8
8
juju-log "Downloading ThinkUp"
9
9
wget https://github.com/downloads/ginatrapani/ThinkUp/thinkup_1.0.zip -O /tmp/thinkup.zip
13
13
unzip /tmp/thinkup.zip
14
14
 
15
15
juju-log "Relocating files to document root"
 
16
rm index.html # this file is placed by Apache, we don't need it
16
17
mv thinkup/* .
17
18
rmdir thinkup
18
19