fix on file exist check

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution@93994 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Andrea Manzi 2014-04-01 14:30:34 +00:00
parent 11c47630b0
commit cdcae038f5
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ for f in $distroscripts/*;
#install config
echo -e "\ninstalling configuration \c"
if [ ! -d "$ghnhome/container.xml" ]; then
if [ ! -s "$ghnhome/container.xml" ]; then
if [ -z "$dryrun" ]; then
cp $distro/container.xml $ghnhome/
fi