small fix on install script
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution@81975 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
510b0987ec
commit
35690c3e47
|
@ -83,25 +83,25 @@ fi
|
|||
|
||||
#shared exists and is a directory
|
||||
if [ ! -d "$shared" ]; then
|
||||
echo -e "\nERROR: $shared does not exist or is not a directory, aborting." >&2
|
||||
echo -e "\nERROR: shared folder does not exist or is not a directory, aborting." >&2
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
#shared exists and is a directory
|
||||
if [ ! -d "$apps" ]; then
|
||||
echo -e "\nERROR: $apps does not exist or is not a directory, aborting." >&2
|
||||
echo -e "\nERROR: apps folder does not exist or is not a directory, aborting." >&2
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
#distrolibs exists and is a directory
|
||||
if [ ! -d "$distrolibs" ]; then
|
||||
echo -e "\nERROR: $distrolibs does not exist or is not a directory, aborting."
|
||||
echo -e "\nERROR: distro libs does not exist or is not a directory, aborting."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
#distroapps exists and is a directory
|
||||
if [ ! -d "$distroapps" ]; then
|
||||
echo -e "\nERROR: $distroapps does not exist or is not a directory, aborting."
|
||||
echo -e "\nERROR: distro apps does not exist or is not a directory, aborting."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue