Last change
on this file since 4400 was
1578,
checked in by jghattas, 13 years ago
|
- Add fcm in LMDZ5/tools directory
It is no longer needed to have fcm in your environement PATH variable.
Now makelmdz_fcm takes by default this fcm. It is still possible to use
another fcm, using -fcm_path argument in makelmdz_fcm.
|
-
Property svn:executable set to
*
|
File size:
968 bytes
|
Line | |
---|
1 | #!/usr/bin/ksh |
---|
2 | # ------------------------------------------------------------------------------ |
---|
3 | # NAME |
---|
4 | # fcm_setup_konqueror |
---|
5 | # |
---|
6 | # SYNOPSIS |
---|
7 | # fcm_setup_konqueror |
---|
8 | # |
---|
9 | # DESCRIPTION |
---|
10 | # Set up Konqueror to use "fcm gui". |
---|
11 | # |
---|
12 | # COPYRIGHT |
---|
13 | # (C) Crown copyright Met Office. All rights reserved. |
---|
14 | # For further details please refer to the file COPYRIGHT.txt |
---|
15 | # which you should have received as part of this distribution. |
---|
16 | # ------------------------------------------------------------------------------ |
---|
17 | |
---|
18 | # Check number of arguments |
---|
19 | script=$(basename $0) |
---|
20 | usage="$script: no argument required" |
---|
21 | if (( $# != 0 )); then |
---|
22 | echo "$usage, abort..." >&2 |
---|
23 | exit 1 |
---|
24 | fi |
---|
25 | |
---|
26 | filename=fcm_gui.desktop |
---|
27 | |
---|
28 | file=$(dirname $0) |
---|
29 | file=${file%/bin}/etc/$filename |
---|
30 | |
---|
31 | if [[ ! -f $file ]]; then |
---|
32 | echo "$script: $file not found, abort..." >&2 |
---|
33 | exit 1 |
---|
34 | fi |
---|
35 | |
---|
36 | dir=$HOME/.kde/share/applnk/.hidden |
---|
37 | mkdir -p $dir |
---|
38 | cd $dir |
---|
39 | rm -f $filename # Always remove. |
---|
40 | ln -s $file . |
---|
41 | |
---|
42 | echo "$script: finished" |
---|
43 | |
---|
44 | #EOF |
---|
Note: See
TracBrowser
for help on using the repository browser.