Contents of /mcore-src/trunk/mcore-tools/src/modules/citrix/launch-ica.in
Parent Directory | Revision Log
Revision 2639 -
(show annotations)
(download)
Tue Sep 29 12:53:20 2015 UTC (8 years, 6 months ago) by niro
File size: 419 byte(s)
Tue Sep 29 12:53:20 2015 UTC (8 years, 6 months ago) by niro
File size: 419 byte(s)
-introduce ica launcher launch-ica
1 | #!/bin/bash |
2 | |
3 | source @@SYSCONFDIR@@/mcore/citrix.conf |
4 | |
5 | ICA="$1" |
6 | |
7 | die() { echo "ERROR: $@"; exit 1; } |
8 | |
9 | [[ -n ${ICA} ]] || die "No ICA given" |
10 | [[ -f ${ICA} ]] || die "No ICA does not exist" |
11 | |
12 | if [[ -z ${ICAROOT} ]] |
13 | then |
14 | export ICAROOT="${SYSTEM_ICAROOT}" |
15 | fi |
16 | |
17 | # create required citrix runtime with an accepted eula |
18 | install -d ~/.ICAClient |
19 | touch ~/.ICAClient/.eula_accepted |
20 | |
21 | wfica "${ICA}" || die "Could not launch '${ICA}'" |