Skip to content

Commit

Permalink
Fix upgrade_wings
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <contact@tommytran.io>
  • Loading branch information
TommyTran732 committed Dec 14, 2022
1 parent 34a2c22 commit bb5078e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,14 @@ EOF


upgrade_wings(){
systemctl stop wings
if [ ${WINGS} = "latest" ]; then
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
else
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/${WINGS}/wings_linux_amd64
fi
chmod u+x /usr/local/bin/wings
systemctl restart wings
systemctl start wings
output "Your wings have been updated to version ${WINGS}."
}

Expand Down

0 comments on commit bb5078e

Please sign in to comment.