From 113c5a0a3fc49ce665878b7bbd4e10da931a0777 Mon Sep 17 00:00:00 2001
From: Robert Middleswarth <72569+rmiddle@users.noreply.github.com>
Date: Sat, 19 Nov 2022 14:57:02 -0500
Subject: [PATCH] Tweak the Detail template to make pre-install and pi-hosted
docs bigger in the list
---
build/joinApps.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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