mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 19:15:35 +01:00
update
This commit is contained in:
parent
906cdd615c
commit
efa1dd4306
@ -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 New Issue
Block a user