Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/citrix/storefront-store.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2598 by niro, Fri Sep 18 12:29:25 2015 UTC revision 2599 by niro, Fri Sep 18 12:34:11 2015 UTC
# Line 39  generate_storefront_xml() Line 39  generate_storefront_xml()
39   # use the first one which gets found   # use the first one which gets found
40   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
41   do   do
42   store_uri=$(source ${config}; echo "${STORE}")   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")
43   if [[ -n ${store_uri} ]]   if [[ -n ${store_uri} ]]
44   then   then
45   addconfig "   <DefaultStore>${store_uri}</DefaultStore>"   addconfig "   <DefaultStore>${store_uri}</DefaultStore>"
# Line 56  generate_storefront_xml() Line 56  generate_storefront_xml()
56   addconfig '   <VisibleStores>'   addconfig '   <VisibleStores>'
57   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
58   do   do
59   store_uri=$(source ${config}; echo "${STORE}")   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")
60   if [[ -n ${store_uri} ]]   if [[ -n ${store_uri} ]]
61   then   then
62   addconfig "      <Store name=\"${store_uri}\" type=\"PNA\">"   addconfig "      <Store name=\"${store_uri}\" type=\"PNA\">"
# Line 142  case "${method}" in Line 142  case "${method}" in
142   do   do
143   if [ -f ${config} ]   if [ -f ${config} ]
144   then   then
145   store_uri=$(source ${config}; echo "${STORE}")   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")
146   rvecho "${store_uri}"   rvecho "${store_uri}"
147   fi   fi
148   done   done

Legend:
Removed from v.2598  
changed lines
  Added in v.2599