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