Browse Source

if dir

master
zeus 4 years ago
parent
commit
00ea97f9b9
  1. 4
      install/usr/share/swarmlab.io/sec/swarmlab-sec

4
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -75,9 +75,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
Wdir=$(pwd) Wdir=$(pwd)
if [ -d $Wdir/.env ]; then if [ ! -f $Wdir/.env ]; then
echo ""
else
cat << EOF > $Wdir/.env cat << EOF > $Wdir/.env
REGISTRY_ADDR=localhost REGISTRY_ADDR=localhost
REGISTRY_PORT=5000 REGISTRY_PORT=5000

Loading…
Cancel
Save