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