~jose/charms/precise/mediawiki/1298674-fix

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Clint Byrum
  • Date: 2011-10-17 18:27:12 UTC
  • mfrom: (51.1.1 mediawiki)
  • Revision ID: clint@ubuntu.com-20111017182712-kaug4w8bgu6jc7o4
merging config.yaml

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
 
 
3
home=`dirname $0`
 
4
 
3
5
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y -q install mediawiki php5-cli postfix python-mysqldb
4
6
 
 
7
# Run config changed hook
 
8
$home/config-changed
 
9
 
5
10
# a bit hacky -- makes sure its there even if memcached is never related
6
11
touch /etc/mediawiki/memcached_settings.php
7
12
chmod 0644 /etc/mediawiki/memcached_settings.php