18 |
if [[ -e ${STOREBROWSE_EXECUTABLE} ]] |
if [[ -e ${STOREBROWSE_EXECUTABLE} ]] |
19 |
then |
then |
20 |
BROWSER=${STOREBROWSE_EXECUTABLE} |
BROWSER=${STOREBROWSE_EXECUTABLE} |
21 |
ADDSTORE_REQUIERED=1 |
ADDSTORE_REQUIRED=1 |
22 |
# use old pnabrowse |
# use old pnabrowse |
23 |
elif [[ -e ${PNABROWSE_EXECUTABLE} ]] |
elif [[ -e ${PNABROWSE_EXECUTABLE} ]] |
24 |
then |
then |
25 |
BROWSER=${PNABROWSE_EXECUTABLE} |
BROWSER=${PNABROWSE_EXECUTABLE} |
26 |
ADDSTORE_REQUIERED=0 |
ADDSTORE_REQUIRED=0 |
27 |
else |
else |
28 |
echo "No Citrix browser found." |
echo "No Citrix browser found." |
29 |
exit 1 |
exit 1 |
95 |
case ${CMD} in |
case ${CMD} in |
96 |
enumerate) |
enumerate) |
97 |
# enumerate apps |
# enumerate apps |
98 |
if [[ ${ADDSTORE_REQUIERED} = 1 ]] |
if [[ ${ADDSTORE_REQUIRED} = 1 ]] |
99 |
then |
then |
100 |
storefront_add_store |
storefront_add_store |
101 |
fi |
fi |
111 |
|
|
112 |
" & |
" & |
113 |
fi |
fi |
114 |
if [[ ${ADDSTORE_REQUIERED} = 1 ]] |
if [[ ${ADDSTORE_REQUIRED} = 1 ]] |
115 |
then |
then |
116 |
storefront_add_store |
storefront_add_store |
117 |
storefront_subscribe_app |
storefront_subscribe_app |