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 2600 by niro, Fri Sep 18 12:46:00 2015 UTC revision 2601 by niro, Fri Sep 18 12:47:54 2015 UTC
# Line 37  generate_storefront_xml() Line 37  generate_storefront_xml()
37   addconfig "   <DefaultStore>${store_uri}</DefaultStore>"   addconfig "   <DefaultStore>${store_uri}</DefaultStore>"
38   else   else
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 $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
41   do   do
42   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")
43   if [[ -n ${store_uri} ]]   if [[ -n ${store_uri} ]]
# Line 54  generate_storefront_xml() Line 54  generate_storefront_xml()
54   addconfig '   <SelfSelection>True</SelfSelection>'   addconfig '   <SelfSelection>True</SelfSelection>'
55   addconfig '   <SessionWindowedMode>False</SessionWindowedMode>'   addconfig '   <SessionWindowedMode>False</SessionWindowedMode>'
56   addconfig '   <VisibleStores>'   addconfig '   <VisibleStores>'
57   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
58   do   do
59   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")   store_uri=$(source ${STOREFRONT_STORES_DIR}/${config}; echo "${STORE}")
60   if [[ -n ${store_uri} ]]   if [[ -n ${store_uri} ]]
# Line 106  case "${method}" in Line 106  case "${method}" in
106   del)   del)
107   if [[ -z ${store_uri} ]]   if [[ -z ${store_uri} ]]
108   then   then
109   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
110   do   do
111   if [ -f ${config} ] && [[ ${config/.conf} != ${config} ]]   if [ -f ${config} ] && [[ ${config/.conf} != ${config} ]]
112   then   then
# Line 138  case "${method}" in Line 138  case "${method}" in
138   ;;   ;;
139    
140   print)   print)
141   for config in $(NOCOLOR=1 list_files_in_directory ${STOREFRONT_STORES_DIR})   for config in $(NOCOLORS=1 list_files_in_directory ${STOREFRONT_STORES_DIR})
142   do   do
143   if [ -f ${STOREFRONT_STORES_DIR}/${config} ]   if [ -f ${STOREFRONT_STORES_DIR}/${config} ]
144   then   then

Legend:
Removed from v.2600  
changed lines
  Added in v.2601