Skip to content
Permalink
Browse files

インストールディレクトリ名がデフォルト値(wordpress)のままだとmvコマンドでエラー起こしてたのを修正

  • Loading branch information
imo-tikuwa committed Nov 4, 2019
1 parent d9aa589 commit c0e375ec07524a40bf37d5fe6fcc83bf81831857
Showing with 24 additions and 3 deletions.
  1. +24 −3 templates/simple/wordpress.json
@@ -144,6 +144,14 @@
},
""
]
},
"WordPressInstallDirectoryNameIsDefault": {
"Fn::Equals": [
{
"Ref": "WordPressInstallDirectoryName"
},
"wordpress"
]
}
},
"Mappings": {
@@ -766,11 +774,24 @@
"Fn::Join": [
"",
[
"mv wordpress ",
{
"Ref": "WordPressInstallDirectoryName"
"Fn::If": [
"WordPressInstallDirectoryNameIsDefault",
"",
{
"Fn::Join": [
"",
[
"mv wordpress ",
{
"Ref": "WordPressInstallDirectoryName"
},
"\n"
]
]
}
]
},
"\n",
"cd ",
{
"Ref": "WordPressInstallDirectoryName"

0 comments on commit c0e375e

Please sign in to comment.
You can’t perform that action at this time.