mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-16 04:03:33 +01:00
GoMFT: Update Curl Path (#3537)
* GoMFT: Update Curl Path * Update gomft.sh
This commit is contained in:
@ -47,9 +47,9 @@ function update_script() {
|
||||
msg_info "Updating $APP to ${RELEASE}"
|
||||
rm -f /opt/gomft/gomft
|
||||
temp_file=$(mktemp)
|
||||
curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v.${RELEASE}.tar.gz" -o $temp_file
|
||||
curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -o $temp_file
|
||||
tar -xzf $temp_file
|
||||
cp -rf GoMFT-v.${RELEASE}/* /opt/gomft
|
||||
cp -rf GoMFT-${RELEASE}/* /opt/gomft
|
||||
cd /opt/gomft
|
||||
rm -f /opt/gomft/node_modules
|
||||
$STD npm ci
|
||||
|
||||
Reference in New Issue
Block a user