Fix substitutions

This commit is contained in:
Bob Mottram 2018-03-06 16:18:20 +00:00
parent 4bb3fe5ac3
commit 87b0a3b052
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ function install_interactive_nextcloud {
# remove any invalid characters
if [ ${#NEXTCLOUD_TITLE} -gt 0 ]; then
new_title=${"$NEXTCLOUD_TITLE"//\'//}
new_title=${NEXTCLOUD_TITLE//\'/}
NEXTCLOUD_TITLE="$new_title"
fi

View File

@ -353,7 +353,7 @@ function install_interactive_pleroma {
# remove any invalid characters
if [ ${#PLEROMA_TITLE} -gt 0 ]; then
new_title=${"$PLEROMA_TITLE"//\'//}
new_title=${PLEROMA_TITLE//\'/}
PLEROMA_TITLE="$new_title"
fi

View File

@ -180,7 +180,7 @@ function install_interactive_postactiv {
# remove any invalid characters
if [ ${#POSTACTIV_TITLE} -gt 0 ]; then
new_title=${"$POSTACTIV_TITLE"//\'/}
new_title=${POSTACTIV_TITLE//\'/}
POSTACTIV_TITLE="$new_title"
fi