~aisrael/charms/trusty/squid-reverseproxy/rework_venv

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Adam Israel
  • Date: 2015-03-18 21:08:26 UTC
  • mfrom: (48.3.3 venv-testing)
  • Revision ID: adam.israel@gmail.com-20150318210826-u54sxxscmolxc505
Rework venv to run tests from the venv

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
set -eu
4
4
 
5
5
juju-log 'Invoking charm-pre-install hooks'
6
 
[ -d exec.d ] && ( for f in exec.d/*/charm-pre-install; do [ -x $f ] && /bin/sh -c "$f"; done )
 
6
[ -d exec.d ] && ( for f in exec.d/*/charm-pre-install; do [ -x $f ] && /bin/sh -c "$f"; done ) || true
7
7
 
8
8
juju-log 'Invoking python-based install hook'
9
9
python hooks/hooks.py install