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 2605 by niro, Fri Sep 18 13:16:06 2015 UTC revision 2606 by niro, Mon Sep 21 13:58:02 2015 UTC
# Line 35  generate_storefront_xml() Line 35  generate_storefront_xml()
35   addconfig '<StoreCache>'   addconfig '<StoreCache>'
36   if [[ -L ${STOREFRONT_DIR}/default-store ]]   if [[ -L ${STOREFRONT_DIR}/default-store ]]
37   then   then
38   store=$(source ${STOREFRONT_DIR}/default-store; echo "${STORE}")   store=$(source ${STOREFRONT_DIR}/default-store; echo "${STORE}" | tr '[A-Z]' '[a-z]')
39   addconfig "   <DefaultStore>${store}</DefaultStore>"   addconfig "   <DefaultStore>${store}</DefaultStore>"
40   else   else
41   # use the first one which gets found   # use the first one which gets found
42   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
43   do   do
44   store=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")   store=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}" | tr '[A-Z]' '[a-z]')
45   if [[ -n ${store} ]]   if [[ -n ${store} ]]
46   then   then
47   addconfig "   <DefaultStore>${store}</DefaultStore>"   addconfig "   <DefaultStore>${store}</DefaultStore>"
# Line 58  generate_storefront_xml() Line 58  generate_storefront_xml()
58   addconfig '   <VisibleStores>'   addconfig '   <VisibleStores>'
59   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
60   do   do
61   store=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")   store=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}" | tr '[A-Z]' '[a-z]')
62   if [[ -n ${store} ]]   if [[ -n ${store} ]]
63   then   then
64   addconfig "      <Store name=\"${store}\" type=\"PNA\">"   addconfig "      <Store name=\"${store}\" type=\"PNA\">"

Legend:
Removed from v.2605  
changed lines
  Added in v.2606