reset option
This commit is contained in:
parent
9188a52cbf
commit
d20c032518
|
@ -67,6 +67,13 @@ if [[ $command_options == "menuconfig-onion" ]]; then
|
||||||
command_options="menuconfig"
|
command_options="menuconfig"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! $CONFIGURATION_FILE ]; then
|
||||||
|
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
|
||||||
|
fi
|
||||||
|
if [ ! $COMPLETION_FILE ]; then
|
||||||
|
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $command_options == "menuconfig" ]]; then
|
if [[ $command_options == "menuconfig" ]]; then
|
||||||
interactive_configuration
|
interactive_configuration
|
||||||
else
|
else
|
||||||
|
@ -214,6 +221,15 @@ else
|
||||||
shift
|
shift
|
||||||
DEBIAN_REPO=$1
|
DEBIAN_REPO=$1
|
||||||
;;
|
;;
|
||||||
|
# clear the config file
|
||||||
|
--reset)
|
||||||
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
|
rm $CONFIGURATION_FILE
|
||||||
|
fi
|
||||||
|
if [ -f $COMPLETION_FILE ]; then
|
||||||
|
rm $COMPLETION_FILE
|
||||||
|
fi
|
||||||
|
;;
|
||||||
# minimal install
|
# minimal install
|
||||||
--minimal)
|
--minimal)
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Reference in New Issue