~mbruzek/charms/precise/limesurvey/tests

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Clint Byrum
  • Date: 2012-11-05 21:07:04 UTC
  • Revision ID: clint@ubuntu.com-20121105210704-mave5bobscq6nq2h
beginnings of limesurvey 2.00 support

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
#Download limesurvey 1.91+ sources and check ash
12
12
. /usr/share/charm-helper/sh/net.sh
13
 
LURL="http://download.limesurvey.org/Latest_stable_release/limesurvey192plus-build120412.tar.bz2"
14
 
LHASH="cd915baa8dee144be8fde289245995c1b2f17c388a54616b747368831b3a46c8"
 
13
LURL="http://download.limesurvey.org/Latest_stable_release/limesurvey200plus-build121104.tar.bz2"
 
14
LHASH="bd2d286ff4c0eb362f9107a65e92d820deb8254ebdaaa82c1fdb713fb50f0047"
15
15
download=`ch_get_file $LURL $LHASH`
16
16
echo "downloaded $download"
17
17
tar -xjf $download --directory $where
18
18
 
19
 
# Downloading Latest is not possible because of lack of control sha or md5 access
20
 
# use of 7 zip is therefore not required any more (see lp bug#899849)
21
 
#
22
 
#install php5-zip which is not available in oneiric
23
 
#wget -O - http://pecl.php.net/get/zip > zip.tgz
24
 
#tar -xzf zip.tgz
25
 
#cd zip-*
26
 
#phpize
27
 
#./configure
28
 
#make
29
 
#sudo make install
30
 
#
31
 
#Donload latest limesurvey
32
 
#wget -O - http://sourceforge.net/projects/limesurvey/files/latest/download?source=files > ~/limesurvey.7z
33
 
#7zr -o$where x ~/limesurvey.7z
34
 
 
35
19
#remove the config file so that we know it is not configured
36
 
rm $where/limesurvey/config.php
 
20
rm -f $where/limesurvey/config.php