mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace which with command -v
This commit is contained in:
parent
61cb21284a
commit
f19f598afc
1 changed files with 2 additions and 2 deletions
|
@ -505,8 +505,8 @@ _install_graphic () {
|
||||||
# only start vnc on xorg environment
|
# only start vnc on xorg environment
|
||||||
echo -e "\033[1mStep 4/4:\033[0m Setting up VNC and browser ...\033[0m"
|
echo -e "\033[1mStep 4/4:\033[0m Setting up VNC and browser ...\033[0m"
|
||||||
[[ "${_L_XFCE}" == "1" || "${_L_PLASMA}" == "1" || "${_L_GNOME}" == "1" ]] && _autostart_vnc
|
[[ "${_L_XFCE}" == "1" || "${_L_PLASMA}" == "1" || "${_L_GNOME}" == "1" ]] && _autostart_vnc
|
||||||
which firefox > /dev/null 2>&1 && _firefox_flags
|
command -v firefox > /dev/null 2>&1 && _firefox_flags
|
||||||
which chromium > /dev/null 2>&1 && _chromium_flags
|
command -v chromium > /dev/null 2>&1 && _chromium_flags
|
||||||
[[ "${_L_XFCE}" == "1" ]] && _start_xfce
|
[[ "${_L_XFCE}" == "1" ]] && _start_xfce
|
||||||
[[ "${_L_GNOME}" == "1" ]] && _start_gnome
|
[[ "${_L_GNOME}" == "1" ]] && _start_gnome
|
||||||
[[ "${_L_GNOME_WAYLAND}" == "1" ]] && _start_gnome_wayland
|
[[ "${_L_GNOME_WAYLAND}" == "1" ]] && _start_gnome_wayland
|
||||||
|
|
Loading…
Reference in a new issue