Simplify
This commit is contained in:
parent
b6a93be4c1
commit
6dd890b323
|
@ -58,13 +58,11 @@ command_options=$1
|
||||||
|
|
||||||
if [[ $command_options == "menuconfig-full" ]]; then
|
if [[ $command_options == "menuconfig-full" ]]; then
|
||||||
MINIMAL_INSTALL="no"
|
MINIMAL_INSTALL="no"
|
||||||
command_options="menuconfig"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $command_options == "menuconfig-onion" ]]; then
|
if [[ $command_options == "menuconfig-onion" ]]; then
|
||||||
MINIMAL_INSTALL="yes"
|
MINIMAL_INSTALL="yes"
|
||||||
ONION_ONLY="yes"
|
ONION_ONLY="yes"
|
||||||
command_options="menuconfig"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $CONFIGURATION_FILE ]; then
|
if [ ! $CONFIGURATION_FILE ]; then
|
||||||
|
@ -74,7 +72,7 @@ if [ ! $COMPLETION_FILE ]; then
|
||||||
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $command_options == "menuconfig" ]]; then
|
if [[ $command_options == "menuconfig"* ]]; then
|
||||||
if [[ "$2" == "--reset" ]]; then
|
if [[ "$2" == "--reset" ]]; then
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
rm $CONFIGURATION_FILE
|
rm $CONFIGURATION_FILE
|
||||||
|
|
Loading…
Reference in New Issue