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
Tue, Nov 26, 02:36 (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263791
Default Alt Text
D259.diff (400 B)

Event Timeline