Undercore -
values in the domain too
This commit is contained in:
parent
fd04c5a6e9
commit
d6195ad6d7
4
abra
4
abra
@ -712,6 +712,8 @@ OPTIONS
|
||||
}
|
||||
|
||||
sub_app_new (){
|
||||
shopt -s extglob
|
||||
|
||||
require_abra_dir
|
||||
get_servers
|
||||
|
||||
@ -750,7 +752,7 @@ sub_app_new (){
|
||||
fi
|
||||
|
||||
if [ -z "$APP_NAME" ]; then
|
||||
DEFAULT_NAME="${TYPE/-/}_${DOMAIN//./_}"
|
||||
DEFAULT_NAME="${TYPE/-/_}_${DOMAIN//+([.-])/_}"
|
||||
read -rp "App name [$DEFAULT_NAME]: " APP_NAME
|
||||
if [ -z "$APP_NAME" ]; then
|
||||
APP_NAME="$DEFAULT_NAME"
|
||||
|
Reference in New Issue
Block a user