Fix: safer behaviour handling java variables
[releng/global-jjb.git] / shell / update-java-alternatives.sh
index 0bed1ec..58a83fc 100644 (file)
@@ -52,8 +52,8 @@ case "${OS}" in
         echo "---> RedHat type system detected"
         update-java-redhat
     ;;
-    ubuntu)
-        echo "---> Ubuntu system detected"
+    ubuntu|debian)
+        echo "---> Ubuntu/Debian system detected"
         update-java-ubuntu
     ;;
 esac