Page MenuHomeDevCentral

D259.diff
No OneTemporary

D259.diff

diff --git a/files/usr/local/bin/setup-container b/files/usr/local/bin/setup-container
--- a/files/usr/local/bin/setup-container
+++ b/files/usr/local/bin/setup-container
@@ -5,7 +5,9 @@
# Generates a unique application key in .env
function generate_key {
KEY=`php artisan key:generate --show`
- echo "" >> .env
+ if [ -f .env ]; then
+ echo "" >> .env
+ fi
echo "APP_KEY=$KEY" >> .env
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 7, 14:04 (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2180487
Default Alt Text
D259.diff (400 B)

Event Timeline