mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 18:13:50 +00:00
remove old tar extraction and use fetch_and_deploy_gh_tag
This commit is contained in:
@@ -56,7 +56,7 @@ function update_script() {
|
|||||||
libavformat-dev
|
libavformat-dev
|
||||||
|
|
||||||
msg_info "Updating Guacamole Server (guacd)"
|
msg_info "Updating Guacamole Server (guacd)"
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "guacd" "apache/guacamole-server" "/opt/guacamole-server"
|
fetch_and_deploy_gh_tag "guacd" "apache/guacamole-server" "${CHECK_UPDATE_RELEASE}" "/opt/guacamole-server"
|
||||||
cd /opt/guacamole-server
|
cd /opt/guacamole-server
|
||||||
export CPPFLAGS="-Wno-error=deprecated-declarations"
|
export CPPFLAGS="-Wno-error=deprecated-declarations"
|
||||||
$STD autoreconf -fi
|
$STD autoreconf -fi
|
||||||
|
|||||||
@@ -42,9 +42,7 @@ $STD apt install -y \
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Building Guacamole Server (guacd)"
|
msg_info "Building Guacamole Server (guacd)"
|
||||||
GUAC_SERVER_VERSION=$(get_latest_gh_tag "apache/guacamole-server")
|
fetch_and_deploy_gh_tag "guacd" "apache/guacamole-server" "latest" "/opt/guacamole-server"
|
||||||
CHECK_UPDATE_RELEASE="$GUAC_SERVER_VERSION"
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "guacd" "apache/guacamole-server" "/opt/guacamole-server"
|
|
||||||
cd /opt/guacamole-server
|
cd /opt/guacamole-server
|
||||||
export CPPFLAGS="-Wno-error=deprecated-declarations"
|
export CPPFLAGS="-Wno-error=deprecated-declarations"
|
||||||
$STD autoreconf -fi
|
$STD autoreconf -fi
|
||||||
@@ -54,7 +52,7 @@ $STD make install
|
|||||||
$STD ldconfig
|
$STD ldconfig
|
||||||
cd /opt
|
cd /opt
|
||||||
rm -rf /opt/guacamole-server
|
rm -rf /opt/guacamole-server
|
||||||
msg_ok "Built Guacamole Server (guacd) ${GUAC_SERVER_VERSION}"
|
msg_ok "Built Guacamole Server (guacd)"
|
||||||
|
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
fetch_and_deploy_gh_release "termix" "Termix-SSH/Termix"
|
fetch_and_deploy_gh_release "termix" "Termix-SSH/Termix"
|
||||||
|
|||||||
Reference in New Issue
Block a user