This commit is contained in:
Bob Mottram 2016-10-17 10:32:15 +01:00
parent b6a93be4c1
commit 6dd890b323
1 changed files with 1 additions and 3 deletions

View File

@ -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