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:
parent
11c47630b0
commit
cdcae038f5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue