Skip to content

Commit 4ffa118

Browse files
committed
preparation to support ARM64 platform shapes
1 parent 8661d34 commit 4ffa118

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/deploy.template.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ dotnet new ${dotnet_standard_type} -o myOracleQuickstartWebApp --no-https --no-r
2929

3030
## Customize standard WebApp
3131
cd myOracleQuickstartWebApp
32-
sed -i 's/Welcome/${dotnet_custom_text_for_standard_webapp}/g' Pages/Index.cshtml
32+
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
3337

34-
# Optional git repo
38+
# Optional git repo (Alternative Deployment)
3539
# git clone ${dotnet_git_custom_webapp} myOracleQuickstartWebApp
3640
# cd myOracleQuickstartWebApp
3741

0 commit comments

Comments
 (0)