From aa01d9f934eb06963df417c94f0995b4b624f963 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Tue, 5 Sep 2006 01:37:23 +0000 Subject: 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 --- encap/src/encap-profiles/daemontools-0.76.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'encap/src/encap-profiles/daemontools-0.76.ep') 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 -- cgit v1.2.3-1-g7c22