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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user