update
This commit is contained in:
parent
906cdd615c
commit
efa1dd4306
1 changed files with 4 additions and 9 deletions
13
install.sh
13
install.sh
|
@ -184,19 +184,14 @@ install_dialog() {
|
||||||
if [ ! "$(which dialog 2> /dev/null)" ]; then
|
if [ ! "$(which dialog 2> /dev/null)" ]; then
|
||||||
prompt -i "\n 'dialog' needs to be installed for this shell"
|
prompt -i "\n 'dialog' needs to be installed for this shell"
|
||||||
if has_command zypper; then
|
if has_command zypper; then
|
||||||
|
|
||||||
sudo zypper in dialog
|
sudo zypper in dialog
|
||||||
elif has_command apt-get; then
|
elif has_command apt-get; then
|
||||||
|
|
||||||
sudo apt-get install dialog
|
sudo apt-get install dialog
|
||||||
elif has_command dnf; then
|
elif has_command dnf; then
|
||||||
|
|
||||||
sudo dnf install dialog
|
sudo dnf install dialog
|
||||||
elif has_command yum; then
|
elif has_command yum; then
|
||||||
|
|
||||||
sudo yum install dialog
|
sudo yum install dialog
|
||||||
elif has_command pacman; then
|
elif has_command pacman; then
|
||||||
|
|
||||||
sudo pacman -S --noconfirm dialog
|
sudo pacman -S --noconfirm dialog
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue