Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecated -l option #476

Merged
merged 2 commits into from
Feb 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ echo ""
if [ "$#" -ne 1 ]; then
echo -e "$RED""$BOLD""Invalid number of arguments""$NC"
echo -e "\n\n------------------------------------------------------------------"
echo -e "Probably you would check all packets we are going to install with:"
echo -e "$CYAN"" sudo ./installer.sh -l""$NC"
echo -e "If you are going to install EMBA in default mode you can use:"
echo -e "$CYAN"" sudo ./installer.sh -d""$NC"
echo -e "------------------------------------------------------------------\n\n"
Expand Down Expand Up @@ -121,7 +119,7 @@ while getopts cCdDFhlr OPT ; do
export LIST_DEP=1
export CVE_SEARCH=0
export DOCKER_SETUP=0
echo -e "$GREEN""$BOLD""List all dependecies""$NC"
echo -e "$GREEN""$BOLD""List all dependecies (Warning: deprecated feature)""$NC"
;;
r)
export REMOVE=1
Expand All @@ -135,6 +133,11 @@ while getopts cCdDFhlr OPT ; do
esac
done

if [[ "$LIST_DEP" -eq 1 ]]; then
echo -e "\n${ORANGE}WARNING: This feature is deprecated and not maintained anymore.$NC"
read -p "If you know what you are doing you can press any key to continue ..." -n1 -s -r
fi

# WSL support - currently experimental!
if grep -q -i wsl /proc/version; then
echo -e "\n${ORANGE}INFO: System running in WSL environment!$NC"
Expand Down
2 changes: 1 addition & 1 deletion installer/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ print_help()
echo -e "$CYAN""-F""$NC"" Developer installation (for running on your host in developer mode)"
echo -e "$CYAN""-D""$NC"" Only used via docker-compose for building EMBA docker container"
echo -e "$CYAN""-h""$NC"" Print this help message"
echo -e "$CYAN""-l""$NC"" List all dependencies of EMBA"
echo -e "$CYAN""-l""$NC"" List all dependencies of EMBA (deprecated)"
echo -e "$CYAN""-r""$NC"" Remove a default installation of EMBA"
echo
}
Expand Down