mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
fix: correct ls command to find kiauh_macros.cfg
This commit is contained in:
@@ -119,7 +119,7 @@ install_webui(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
### ask user to install the recommended webinterface macros
|
### ask user to install the recommended webinterface macros
|
||||||
if [[ ! -n $(ls $klipper_cfg_loc/kiauh_macros.cfg) ]] || [[ ! -n $(ls $klipper_cfg_loc/printer_*/kiauh_macros.cfg) ]]; then
|
if ! ls $klipper_cfg_loc/kiauh_macros.cfg 2>/dev/null 1>&2 || ! ls $klipper_cfg_loc/printer_*/kiauh_macros.cfg 2>/dev/null 1>&2; then
|
||||||
get_user_selection_kiauh_macros "$IF_NAME2"
|
get_user_selection_kiauh_macros "$IF_NAME2"
|
||||||
fi
|
fi
|
||||||
### create /etc/nginx/conf.d/upstreams.conf
|
### create /etc/nginx/conf.d/upstreams.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user