Magellan Linux

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

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

revision 2380 by niro, Mon Aug 24 14:11:55 2015 UTC revision 2381 by niro, Wed Aug 26 11:53:18 2015 UTC
# Line 38  case "${method}" in Line 38  case "${method}" in
38    
39   addconfig '#!/bin/bash'   addconfig '#!/bin/bash'
40   addconfig "${MCORE_LIBDIR}/storefront-resolver launch '${user}' '${password}' '${domain}' '${session}'"   addconfig "${MCORE_LIBDIR}/storefront-resolver launch '${user}' '${password}' '${domain}' '${session}'"
41     chmod +x "${storefront_starter}"
42    
43   if is_provided fluxbox   if is_provided fluxbox
44   then   then
45   # generate fluxbox menu entry   # generate fluxbox menu entry
46   ${MCORE_LIBDIR}/fluxbox-menuitem --add --name "${name}" --exec "bash ${storefront_starter}" &&   ${MCORE_LIBDIR}/fluxbox-menuitem --add --name "${name}" --exec "${storefront_starter}" &&
47   ${MCORE_LIBDIR}/fluxbox-rebuild-menu   ${MCORE_LIBDIR}/fluxbox-rebuild-menu
48   fi   fi
49     if is_provided idesk
50     then
51     # generate idesk desktop icon
52     ${MCORE_LIBDIR}/idesk-generate-icon-info -add --name "{name}" --command "${storefront_starter}" --icon default.png &&
53     ${MCORE_LIBDIR}/idesk-generate-all-desktop-icons
54     fi
55   ;;   ;;
56    
57   del)   del)
# Line 57  case "${method}" in Line 64  case "${method}" in
64   ${MCORE_LIBDIR}/fluxbox-menuitem --del  --name "${name}" &&   ${MCORE_LIBDIR}/fluxbox-menuitem --del  --name "${name}" &&
65   ${MCORE_LIBDIR}/fluxbox-rebuild-menu   ${MCORE_LIBDIR}/fluxbox-rebuild-menu
66   fi   fi
67     if is_provided idesk
68     then
69     ${MCORE_LIBDIR}/idesk-generate-icon-info --del --name "${name}" &&
70     ${MCORE_LIBDIR}/idesk-generate-all-desktop-icons
71     fi
72   else   else
73   eecho "No configured session named '${name}' exists."   eecho "No configured session named '${name}' exists."
74   fi   fi

Legend:
Removed from v.2380  
changed lines
  Added in v.2381