diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-05 01:37:23 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-05 01:37:23 +0000 |
commit | aa01d9f934eb06963df417c94f0995b4b624f963 (patch) | |
tree | 24ca8880873a9aec94c70a06fd74dc653de3ad5c | |
parent | b25ea7447d8c9fd3ad819e15fdd51918ebd6bd8d (diff) | |
download | bcfg2-aa01d9f934eb06963df417c94f0995b4b624f963.tar.gz bcfg2-aa01d9f934eb06963df417c94f0995b4b624f963.tar.bz2 bcfg2-aa01d9f934eb06963df417c94f0995b4b624f963.zip |
EncapPackages: Solaris sh(1) doesn't support test -e
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2201 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | encap/src/encap-profiles/daemontools-0.76.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/daemontools-0.76.ep b/encap/src/encap-profiles/daemontools-0.76.ep index c6b93c2ab..477a04d4b 100644 --- a/encap/src/encap-profiles/daemontools-0.76.ep +++ b/encap/src/encap-profiles/daemontools-0.76.ep @@ -302,7 +302,7 @@ if [ "${1}x" = "x" -o "${2}x" != "x" ]; then exit 1 fi SERVICE="`basename ${1}`" -if [ ! -e "/service/$SERVICE" ]; then +if [ ! -h "/service/$SERVICE" -a ! -f "/service/$SERVICE" ]; then printf "Service \"${SERVICE}\" not installed. Installed services:\n" svstat /service/* exit 1 |