diff --git a/ct/homebox.sh b/ct/homebox.sh index d8889e50..4ba47a09 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -54,7 +54,7 @@ function default_settings() { } function update_script() { header_info -if [[ ! -d /opt/homebox ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +if [[ ! -f /opt/homebox ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then read -r -p "Warning: Storage is dangerously low, continue anyway? " prompt [[ ${prompt,,} =~ ^(y|yes)$ ]] || exit