mambabase: fix installation of sun-java7

This commit is contained in:
Silvan Calarco 2014-10-07 15:24:39 +02:00
parent aaef0e3733
commit b8f2582c59

View File

@ -241,13 +241,19 @@ if [ "$INSTALL_SKYPE" = "1" ]; then
/usr/bin/openmamba-netsrpms skype /usr/bin/openmamba-netsrpms skype
fi fi
if [ "$INSTALL_JAVA" = "1" ]; then
dcop_write $"Installing Oracle Java 7..." 10
/usr/bin/openmamba-netsrpms sun-java7
fi
if [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
fi
if [ "$INSTALL_JDK" = "1" ]; then if [ "$INSTALL_JDK" = "1" ]; then
dcop_write $"Installing Sun Java Developers Kit..." 10 dcop_write $"Installing Sun Java Developers Kit..." 10
apt_get_parsed install -y $SUN_JAVA_PKGS apt_get_parsed install -y $SUN_JAVA_PKGS
elif [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS
fi fi
dcop_write $"Installation completed." -1 dcop_write $"Installation completed." -1