Simplify
This commit is contained in:
parent
b6a93be4c1
commit
6dd890b323
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue