sync .env

This commit is contained in:
aptalca
2018-09-30 17:37:22 -04:00
committed by GitHub
parent 22eb45277a
commit 162ac78551

View File

@@ -17,6 +17,11 @@ do
[[ ! -L "$i" ]] && ln -s /config/www/"$(basename "$i")" "$i"
done
# sync .env
[[ ! -f /config/.env ]] && \
cp /var/www/localhost/heimdall/.env /config/.env
cp /config/.env /var/www/localhost/heimdall/.env
# permissions
chown -R abc:abc \
/config \