Fix an unbalanced if then else
This commit is contained in:
parent
e349d47c90
commit
1c25a15760
@ -813,10 +813,10 @@ if ! [ -d "$CONFIG_PATH" ];then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e "$CONFIG_PATH/mageia4arm.cfg" ];then
|
if [ -e "$CONFIG_PATH/mageia4arm.cfg" ];then
|
||||||
info "using $CONFIG_PATH/mageia4arm.cfg as config"
|
info "using $CONFIG_PATH/mageia4arm.cfg as config"
|
||||||
. "$CONFIG_PATH/mageia4arm.cfg"
|
. "$CONFIG_PATH/mageia4arm.cfg"
|
||||||
else
|
else
|
||||||
warning "Config file does not exists, do you want i copy template ? [Y|n] "
|
warning "Config file does not exists, do you want i copy template ? [Y|n] "
|
||||||
read yn
|
read yn
|
||||||
if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
|
if [ -z $yn ] || [ $yn = "Y" ] || [ $yn = "y" ];then
|
||||||
@ -824,9 +824,6 @@ fi
|
|||||||
warning "You need now to modify the config file ($CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
|
warning "You need now to modify the config file ($CONFIG_PATH/mageia4arm.cfg) and relaunch the script"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
else
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -z "$IMAGE_SIZE_P" ];then
|
if ! [ -z "$IMAGE_SIZE_P" ];then
|
||||||
|
Reference in New Issue
Block a user