Update sites.inc
This commit is contained in:
@@ -634,6 +634,8 @@ SITEINFO(){
|
||||
twofacline=${twofacline%%:*}
|
||||
fi
|
||||
|
||||
[ "${SEARCH}" != "0" ] && echo -e "${idsCL[Yellow]}Narrowing list to names containing '${idsCL[LightYellow]}${SEARCH,,}${idsCL[Yellow]}' ${idsCL[Default]}\n"
|
||||
|
||||
if [ ${EDIT} -eq 1 ]; then
|
||||
[ "${2}" == "" ] && echo -e "${idsCL[LightGreen]}Choose a site from the list below to edit: ${idsCL[Default]}"
|
||||
else
|
||||
@@ -643,7 +645,6 @@ SITEINFO(){
|
||||
declare -A SITELIST
|
||||
if [ "${gosite}" != "" ]; then
|
||||
if [ "${SEARCH}" != "0" ]; then
|
||||
echo "searching for ${SEARCH,,}"
|
||||
sites=$(find ${gosite}/*${SEARCH,,}*.conf)
|
||||
else
|
||||
echo not searching
|
||||
|
||||
Reference in New Issue
Block a user