diff --git a/build/joinApps.sh b/build/joinApps.sh
index 8d4987a..58a7df0 100755
--- a/build/joinApps.sh
+++ b/build/joinApps.sh
@@ -15,7 +15,7 @@ template_amd64='template/portainer-v2-amd64.json'
# App info
repo='https://github.com/pi-hosted/pi-hosted/blob/master/'
rawrepo='https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/'
-header='
Template created by Pi-Hosted Series
Check our Github page: https://github.com/pi-hosted/pi-hosted
'
+header='Template created by Pi-Hosted Series
Check our Github page: https://github.com/pi-hosted/pi-hosted
'
# Run script from base directory
scriptDir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
@@ -53,7 +53,7 @@ for app in template/apps/*.json; do
# Pi-Hosted Documentation
if PHDoc=$( echo "$appjson" | jq -e '.piHostedDoc' ) ; then
- PHDoc="
Pi-Hosted dedicated documentation: ${PHDoc:1:-1}"
+ PHDoc="
Pi-Hosted dedicated documentation: ${PHDoc:1:-1}
"
appjson=$( echo "$appjson" | jq 'del(.piHostedDoc)' )
else
unset PHDoc
@@ -63,7 +63,7 @@ for app in template/apps/*.json; do
if Script=$( echo "$appjson" | jq -e '.preInstallScript' ) ; then
scriptexec=$( jq '.tools[] | select(.File=='"$Script"') | .Exec' "$appinfo" )
[ "$scriptexec" == "" ] && scriptexec="-bash-"
- Script="
Pre-installation script must be RAN before you install: wget -qO- ${rawrepo}tools/${Script:1:-1} | ${scriptexec:1:-1}"
+ Script="
<Pre-installation script must be RAN before you install: wget -qO- ${rawrepo}tools/${Script:1:-1} | ${scriptexec:1:-1}
"
appjson=$( echo "$appjson" | jq 'del(.preInstallScript)' )
else
unset Script