We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8661d34 commit 4ffa118Copy full SHA for 4ffa118
scripts/deploy.template.sh
@@ -29,9 +29,13 @@ dotnet new ${dotnet_standard_type} -o myOracleQuickstartWebApp --no-https --no-r
29
30
## Customize standard WebApp
31
cd myOracleQuickstartWebApp
32
-sed -i 's/Welcome/${dotnet_custom_text_for_standard_webapp}/g' Pages/Index.cshtml
+filenametocustomize="Pages/Index.cshtml"
33
+if [[ -e $filenametocustomize ]]
34
+then
35
+ sed -i 's/Welcome/${dotnet_custom_text_for_standard_webapp}/g' $filenametocustomize
36
+fi
37
-# Optional git repo
38
+# Optional git repo (Alternative Deployment)
39
# git clone ${dotnet_git_custom_webapp} myOracleQuickstartWebApp
40
# cd myOracleQuickstartWebApp
41
0 commit comments