GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.25k stars 813 forks source link

[Bug]: bepinexvh latestlink url wrong in mods_list.sh #4547

Closed siljelb closed 6 months ago

siljelb commented 6 months ago

User story

When using vhserver mods-install to install bepinexvh, curl reports a URL issue

Game

Valheim

Linux distro

Ubuntu 22.04

Command

command: mods-install

Further information


parse error: Invalid numeric literal at line 5, column 10

Valheim Installing mods
=================================
Available addons/mods
=================================
Valheim PLUS - Mod to improve Valheim gameplay - https://github.com/Grantapher/ValheimPlus.git
 * valheimplus
BepInEx Valheim - Unity / XNA game patcher and plugin framework - https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
 * bepinexvh

Enter an addon/mod to install (or exit to abort): bepinexvh

Installing BepInEx Valheim
=================================
clearing mod download directory /home/skadi/lgsm/mods/tmp...OK
creating mod download directory /home/skadi/lgsm/mods/tmp...OK
                                               curl: (3) URL rejected: No host part in the URL
FAIL```

### Relevant log output

_No response_

### Steps to reproduce

_No response_
siljelb commented 6 months ago

The problem is that the url is valheim.thunderstore.io instead of just thunderstore.io. I'll submit a PR.