diff options
author | Frederic Lepied <flepied@mandriva.com> | 2001-12-05 03:52:14 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2001-12-05 03:52:14 +0000 |
commit | 512114db941e94cf9baaaadeaba4aa9f71660d00 (patch) | |
tree | 85bbae8ca4b7f7e44105825b0b785d52ec1eeb41 | |
parent | 281e8832a8e5216ee8778e8d414af4881212f969 (diff) | |
download | msec-512114db941e94cf9baaaadeaba4aa9f71660d00.tar msec-512114db941e94cf9baaaadeaba4aa9f71660d00.tar.gz msec-512114db941e94cf9baaaadeaba4aa9f71660d00.tar.bz2 msec-512114db941e94cf9baaaadeaba4aa9f71660d00.tar.xz msec-512114db941e94cf9baaaadeaba4aa9f71660d00.zip |
test the existence of /etc/sysconfig/msec before sourcing it.
-rwxr-xr-x | msec.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ -. /etc/sysconfig/msec +if [ -r /etc/sysconfig/msec ]; then + . /etc/sysconfig/msec +fi if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then export PATH=$PATH:/usr/X11R6/bin |