PageRenderTime 38ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/install-extra-repositories/ubuntu-12.04/webupd8-java.sh

https://bitbucket.org/maxexcloo/minstall
Shell | 13 lines | 5 code | 3 blank | 5 comment | 2 complexity | f7211324988f701c1e61960f768fabc8 MD5 | raw file
  1. #!/bin/bash
  2. # Install WebUpd8 Java Repository
  3. # Ask If Repository Should Be Installed
  4. if question --default yes "Do you want to install the WebUpd8 Java repository? (Y/n)" || [ $UNATTENDED = 1 ]; then
  5. subheader "Installing WebUpd8 Java Repository..."
  6. # Add Repository Key
  7. repo_key_server "keyserver.ubuntu.com" "EEA14886"
  8. # Add Repository
  9. repo_add "webupd8-java" "deb http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise main"
  10. fi