We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f393c commit 51ec219Copy full SHA for 51ec219
ct/gomft.sh
@@ -29,6 +29,10 @@ function update_script() {
29
exit
30
fi
31
RELEASE=$(curl -s https://api.github.com/repos/StarFleetCPTN/GoMFT/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
32
+ if ! dpkg -l | grep -q "^ii.*build-essential"; then
33
+ $STD apt-get install -y build-essential
34
+ fi
35
+
36
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
37
msg_info "Stopping $APP"
38
systemctl stop gomft
0 commit comments