diff --git a/conf/.env.example b/conf/.env similarity index 100% rename from conf/.env.example rename to conf/.env diff --git a/scripts/install b/scripts/install index 89bf6e3..e9b7f73 100755 --- a/scripts/install +++ b/scripts/install @@ -31,7 +31,7 @@ chown -R "$app:www-data" "$install_dir" #================================================= ynh_script_progression --message="Adding $app's configuration files..." --weight=1 -ynh_add_config --template=".env.example" --destination="$install_dir/.env" +ynh_add_config --template=".env" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown "$app:$app" "$install_dir/.env" diff --git a/scripts/upgrade b/scripts/upgrade index 2387cea..51f96bd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,7 +17,7 @@ timezone="$(cat /etc/timezone)" ynh_script_progression --message="Upgrading source files..." --weight=4 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --keep=".env" #--full_replace=1 +ynh_setup_source --dest_dir="$install_dir" --keep=".env" --full_replace=1 chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" @@ -27,7 +27,7 @@ chown -R "$app:www-data" "$install_dir" #================================================= ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template=".env.example" --destination="$install_dir/.env" +ynh_add_config --template=".env" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown "$app:$app" "$install_dir/.env"