System (please complete the following information):
- OS:
linux
- GO Version: absent
- Pkg Version:
dev-5b1d67b5
Describe the bug
eget does not respect eget.toml when installing package that is represent in the config. Tried with babarot/gomi.
To Reproduce
- Create
~/.config/eget/eget.toml with this contents:
[api_cache]
cache_time = 300
enable = false
[ghproxy]
enable = false
host_url = ""
support_api = true
[global]
cache_dir = "~/.cache/eget"
proxy_url = ""
system = ""
target = "/usr/local/bin"
[packages]
[packages.gomi]
repo = "babarot/gomi"
- Set location to
~:
- Install the
babarot/gomi by eget:
sudo eget install babarot/gomi
🚀 Install babarot/gomi from repo
📦 Asset https://github.com/babarot/gomi/releases/download/v1.6.3/gomi_Linux_x86_64.tar.gz
Downloading [====================] 5.05M/5.05M
✅ Extracted gomi to gomi
- It installs the package to
~, not the /usr/local/bin, as set in [global] section of the eget.toml
Expected behavior
It should install to /usr/local/bin, as written in config file.
System (please complete the following information):
linuxdev-5b1d67b5Describe the bug
egetdoes not respecteget.tomlwhen installing package that is represent in the config. Tried withbabarot/gomi.To Reproduce
~/.config/eget/eget.tomlwith this contents:~:Set-Location ~babarot/gomibyeget:sudo eget install babarot/gomi~, not the/usr/local/bin, as set in[global]section of theeget.tomlExpected behavior
It should install to
/usr/local/bin, as written in config file.