File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,12 @@ curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}
3232tar -xzf " $temp_file "
3333mv GoMFT-" ${RELEASE} " / /opt/gomft
3434cd /opt/gomft
35- $STD go install github.com/a-h/templ/cmd/templ@latest
35+ TEMPL_VERSION=" $( awk ' /github.com\/a-h\/templ/{print $2}' go.mod) "
36+ $STD go install github.com/a-h/templ/cmd/templ@v${TEMPL_VERSION}
37+ cp /opt/gomft/components/file_metadata/search/file_metadata_search_content.templ{,.bak}
38+ sed -i -e ' /<div id="search-results">/a \ @{' \
39+ -e ' /^ }$/a \ }' \
40+ /opt/gomft/components/file_metadata/search/file_metadata_search_content.templ
3641$STD " $HOME " /go/bin/templ generate
3742$STD go build -o gomft main.go
3843chmod +x /opt/gomft/gomft
You can’t perform that action at this time.
0 commit comments