diff --git a/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh b/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh index 3ead841..258111c 100755 --- a/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh +++ b/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh @@ -29,9 +29,9 @@ function prepare_doLinksSuffixes { local FILE="$1" local SUFFIX='centos-' - if [[ "$FILE" =~ "$(cli_getPathComponent --theme-pattern)" ]];then - SUFFIX="${SUFFIX}$(cli_getRepoName $(cli_getPathComponent $FILE --theme-name) -f)-" - SUFFIX="${SUFFIX}$(cli_getPathComponent $FILE --theme-release)-" + if [[ "$FILE" =~ "$(cli_getPathComponent --motif-pattern)" ]];then + SUFFIX="${SUFFIX}$(cli_getRepoName $(cli_getPathComponent $FILE --motif-name) -f)-" + SUFFIX="${SUFFIX}$(cli_getPathComponent $FILE --motif-release)-" fi echo "${SUFFIX}"