diff --git a/install/base.sh b/install/base.sh index 03a095e..179b564 100644 --- a/install/base.sh +++ b/install/base.sh @@ -95,85 +95,11 @@ else fi - -### ------------ Needs work ----------- ### - - ### --- User managment --- ### - -# If no > yes install -if [[ "$oDependenciesInstalled"="no" && "$dependenciesInstalled"="yes"]]; then - - printf "+ Installing depandencies \n" - apt install openjdk-17-jre-headless screen - - -# if yes > no uninstall -if [[ "$oDependenciesInstalled"="yes" && "$dependenciesInstalled"="no"]]; then - - printf "+ UNinstalling depandencies \n" - apt remove openjdk-17-jre-headless screen - - -# if yes > yes update -if [[ "$oDependenciesInstalled"="yes" && "$dependenciesInstalled"="yes"]]; then - - printf "+ skiping dependencies check \n" - - -# if no > no restr -if [[ "$oDependenciesInstalled"="no" && "$dependenciesInstalled"="no"]]; then - - pritf "+ skiping installation of dependencies \n" - -else - - #error handeling - -fi - - ### --- File Structure --- ### -# If no > yes install -if [[ "$oDependenciesInstalled"="no" && "$dependenciesInstalled"="yes"]]; then - printf "+ Installing depandencies \n" - apt install openjdk-17-jre-headless screen - - -# if yes > no uninstall -if [[ "$oDependenciesInstalled"="yes" && "$dependenciesInstalled"="no"]]; then - - printf "+ UNinstalling depandencies \n" - apt remove openjdk-17-jre-headless screen - - -# if yes > yes update -if [[ "$oDependenciesInstalled"="yes" && "$dependenciesInstalled"="yes"]]; then - - printf "+ skiping dependencies check \n" - - -# if no > no restr -if [[ "$oDependenciesInstalled"="no" && "$dependenciesInstalled"="no"]]; then - - pritf "+ skiping installation of dependencies \n" - -else - - #error handeling - -fi - - - -# -# -# -# -# -# +### ------------ Needs work ----------- ### ### User managment