mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "2d47b876b24acbc3bdfb02543ea0f8bd46e1cf76" and "51def5ec4cf420f356cda77d6b1407eb9c9b2b27" have entirely different histories.
2d47b876b2
...
51def5ec4c
|
@ -357,8 +357,7 @@ header_info
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
||||||
grep "tag_name" |
|
grep "tag_name" |
|
||||||
awk '{print substr($2, 3, length($2)-4) }')
|
awk '{print substr($2, 3, length($2)-4) }')
|
||||||
echo -e "Please wait until new version ${RELEASE} is confirmed working"
|
|
||||||
exit
|
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
systemctl stop openresty
|
systemctl stop openresty
|
||||||
systemctl stop npm
|
systemctl stop npm
|
||||||
|
|
|
@ -139,10 +139,10 @@ RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-man
|
||||||
grep "tag_name" |
|
grep "tag_name" |
|
||||||
awk '{print substr($2, 3, length($2)-4) }')
|
awk '{print substr($2, 3, length($2)-4) }')
|
||||||
|
|
||||||
msg_info "Downloading Nginx Proxy Manager v2.9.19"
|
msg_info "Downloading Nginx Proxy Manager v${RELEASE}"
|
||||||
wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v2.9.19 -O - | tar -xz
|
wget -q https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v${RELEASE} -O - | tar -xz
|
||||||
cd ./nginx-proxy-manager-2.9.19
|
cd ./nginx-proxy-manager-${RELEASE}
|
||||||
msg_ok "Downloaded Nginx Proxy Manager v2.9.19"
|
msg_ok "Downloaded Nginx Proxy Manager v${RELEASE}"
|
||||||
|
|
||||||
msg_info "Setting up Enviroment"
|
msg_info "Setting up Enviroment"
|
||||||
ln -sf /usr/bin/python3 /usr/bin/python
|
ln -sf /usr/bin/python3 /usr/bin/python
|
||||||
|
|
Loading…
Reference in New Issue