fix: install inetutils on Arch Linux
This provides the `hostname` command used in the install.sh script, which is not available by default on Arch Linux. Some relevant resources: - https://bbs.archlinux.org/viewtopic.php?id=125308 - https://archlinux.org/news/deprecation-of-net-tools/ - https://man.archlinux.org/man/hostname.1.en
This commit is contained in:
parent
ef56797c7d
commit
3a6232db7a
1 changed files with 2 additions and 1 deletions
|
|
@ -160,7 +160,8 @@ echo -e "1. Installing required packages (curl, wget, git, jq, openssl). "
|
||||||
|
|
||||||
case "$OS_TYPE" in
|
case "$OS_TYPE" in
|
||||||
arch)
|
arch)
|
||||||
pacman -Sy --noconfirm --needed curl wget git jq openssl >/dev/null || true
|
# inetutils provides the 'hostname' command
|
||||||
|
pacman -Sy --noconfirm --needed curl wget git jq openssl inetutils >/dev/null || true
|
||||||
;;
|
;;
|
||||||
alpine)
|
alpine)
|
||||||
sed -i '/^#.*\/community/s/^#//' /etc/apk/repositories
|
sed -i '/^#.*\/community/s/^#//' /etc/apk/repositories
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue