Update gomft-install.sh

This commit is contained in:
CanbiZ
2025-06-24 15:49:54 +02:00
parent 00575130f5
commit f86f90b2e0

View File

@ -34,7 +34,7 @@ tar -xzf "$temp_file"
mv GoMFT-"${RELEASE}"/ /opt/gomft
cd /opt/gomft
TEMPL_VERSION="$(awk '/github.com\/a-h\/templ/{print $2}' go.mod)"
$STD go install github.com/a-h/templ/cmd/templ@v${TEMPL_VERSION}
$STD go install github.com/a-h/templ/cmd/templ@${TEMPL_VERSION}
cp /opt/gomft/components/file_metadata/search/file_metadata_search_content.templ{,.bak}
sed -i -e '/<div id="search-results">/a \ @{' \
-e '/^ }$/a \ }' \