Added java password dialog
This commit is contained in:
parent
64a9e54b65
commit
0c2109dd2d
|
@ -22,7 +22,7 @@ install () {
|
|||
mkdir -p "$DIR/downloads"
|
||||
cd "$DIR/downloads"
|
||||
echo "Downloading Java 6u45 Windows i586..."
|
||||
wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --ask-password https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe
|
||||
wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --password=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-password="Password") https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe
|
||||
if ! [ -f "$DIR/downloads/jre-6u45-windows-i586.exe" ]; then
|
||||
echo "JRE6 installer not found! Aborting!"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user