~charmers/charms/trusty/ibm-mq/trunk

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: vsasi
  • Date: 2015-06-10 10:32:16 UTC
  • mfrom: (30.1.14 devfix)
  • Revision ID: vsasi-20150610103216-75mk2ku6o27984ud
Update based on review

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
# Extract IBM MQ archive file, if it  exists to files/archives 
19
19
if [ -f  $CHARM_DIR/files/archives/*.gz  ]; then
20
 
        juju-log "IBM MQ: Extracting IBM MQ package."
 
20
        juju-log "IBM MQ: Extracting IBM MQ package."
21
21
        tar xvfz $CHARM_DIR/files/archives/*.gz  --strip-components=1 -C $CHARM_DIR/files/archives 
22
22
        rm -rf  $CHARM_DIR/files/archives/*.gz
23
 
        juju-log "IBM MQ: Extracted IBM MQ package."
 
23
        juju-log "IBM MQ: Extracted IBM MQ package."
24
24
        juju-log "Awaiting acceptance of IBM MQ license (see README on how to accept the license)."
25
25
else
26
 
        juju-log "IBM MQ: IBM MQ packages not available. Refer the README on how to add it. Deploy the charm again after adding the package."
 
26
        juju-log "IBM MQ: IBM MQ packages not available. Refer the README on how to add it. Deploy the charm again after adding the package."
27
27
fi
28
28
 
29
29
juju-log "IBM MQ: End Install."