~george-edison55/charms/oneiric/thinkup/update-to-1-0-2

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Nathan Osman
  • Date: 2011-11-19 05:59:33 UTC
  • Revision ID: admin@quickmediasolutions.com-20111119055933-mv36jmb3qxvk889w
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
juju-log "Installing required packages"
 
4
apt-get install -y libapache2-mod-php5 php5-curl
 
5
 
 
6
juju-log "Downloading ThinkUp"
 
7
wget https://github.com/downloads/ginatrapani/ThinkUp/thinkup_1.0.zip
 
8
 
 
9
juju-log "Extracting ThinkUp"
 
10
cd /var/www
 
11
unzip thinkup_1.0.zip
 
12
 
 
13
juju-log "Assigning file ownership"
 
14
chown -R www-data thinkup
 
15
 
 
16
apt-get install -y thinkup