~charmers/charms/precise/jenkins-slave/trunk

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: James Page
  • Date: 2011-09-12 12:54:04 UTC
  • Revision ID: james.page@canonical.com-20110912125404-7ruqarqxtl8rmk5w
Updated formula to work on natty and oneiric

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        ensemble-log "Installing jenkins-slave..."
7
7
    apt-get -y install python-software-properties
8
8
    add-apt-repository ppa:hudson-ubuntu/testing
9
 
    apt-get update
 
9
    apt-get update || true
10
10
    apt-get -y install -qq jenkins-slave
11
11
}
12
12
[[ -f /etc/init/jenkins-slave.conf ]] || install_slave