Fixed dependencies installation
parent
1a5f10580e
commit
04beee6b0b
|
@ -4,9 +4,9 @@
|
|||
|
||||
InstallDependencies()
|
||||
{
|
||||
packagesNeeded='curl jq expect pwgen'
|
||||
packagesNeeded='curl jq mkpasswd pwgen'
|
||||
if [ -x "$(command -v apk)" ]; then sudo apk add --no-cache $packagesNeeded # Alpine Linux
|
||||
elif [ -x "$(command -v apt-get)" ]; then sudo apt-get install $packagesNeeded # Debian/Ubuntu Linux
|
||||
elif [ -x "$(command -v apt-get)" ]; then sudo apt-get install curl jq whois pwgen # Debian/Ubuntu Linux
|
||||
elif [ -x "$(command -v dnf)" ]; then sudo dnf install $packagesNeeded # Fedora Linux
|
||||
elif [ -x "$(command -v rpm-ostree)" ]; then sudo rpm-ostree install $packagesNeeded # Fedora Linux Silverblue
|
||||
elif [ -x "$(command -v zypper)" ]; then sudo zypper install $packagesNeeded # openSUSE Linux
|
||||
|
|
Loading…
Reference in New Issue