Skip to content
Snippets Groups Projects
Commit 6dd890b3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Simplify

parent b6a93be4
No related branches found
No related tags found
No related merge requests found
......@@ -58,13 +58,11 @@ command_options=$1
if [[ $command_options == "menuconfig-full" ]]; then
MINIMAL_INSTALL="no"
command_options="menuconfig"
fi
if [[ $command_options == "menuconfig-onion" ]]; then
MINIMAL_INSTALL="yes"
ONION_ONLY="yes"
command_options="menuconfig"
fi
if [ ! $CONFIGURATION_FILE ]; then
......@@ -74,7 +72,7 @@ if [ ! $COMPLETION_FILE ]; then
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
fi
if [[ $command_options == "menuconfig" ]]; then
if [[ $command_options == "menuconfig"* ]]; then
if [[ "$2" == "--reset" ]]; then
if [ -f $CONFIGURATION_FILE ]; then
rm $CONFIGURATION_FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment