~george-edison55/charms/oneiric/thinkup/update-to-1-0-2

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Nathan Osman
  • Date: 2011-11-25 05:11:17 UTC
  • Revision ID: admin@quickmediasolutions.com-20111125051117-14cxavjzs2irv39p
Made some corrections to the PHP code that modifies the admin account.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
# Update the user configuration IF the config data has
17
17
# been supplied AND the DB has been configured.
18
 
if [[ -n $NAME && -n $EMAIL && -n $PASSWORD && -f /opt/created_database_tables]] ; then
 
18
if [[ -n $NAME && -n $EMAIL && -n $PASSWORD && -f /opt/created_database_tables ]] ; then
19
19
    juju-log "Updating the owner information"
20
20
    update_admin_info "$NAME" "$EMAIL" "$PASSWORD"
21
21
fi