~aisrael/charms/trusty/mediawiki/trusty-port

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Adam Israel
  • Date: 2014-09-11 00:33:14 UTC
  • Revision ID: adam.israel@gmail.com-20140911003314-l50xfwhgcfwmwbtv
Re-add u flag
Make the path to DISTRIB_CODENAME cleaner

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
 
3
 
set -xe
 
3
set -uxe
4
4
 
5
 
[[ -f /etc/lsb-release ]] && . /etc/lsb-release
 
5
DISTRIB_CODENAME=$(lsb_release -cs)
6
6
 
7
7
apt-get --no-install-recommends -y -q install mediawiki php5-cli postfix python-mysqldb pwgen
8
8