diff --git a/ct/comfyui.sh b/ct/comfyui.sh index 5a293a4d2..e8f1ee58a 100644 --- a/ct/comfyui.sh +++ b/ct/comfyui.sh @@ -13,6 +13,7 @@ var_disk="${var_disk:-25}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" +var_gpu="${var_gpu:-yes}" header_info "$APP" variables diff --git a/ct/libretranslate.sh b/ct/libretranslate.sh index 2c55d8380..760553bfe 100644 --- a/ct/libretranslate.sh +++ b/ct/libretranslate.sh @@ -13,6 +13,7 @@ var_disk="${var_disk:-20}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" +var_gpu="${var_gpu:-yes}" header_info "$APP" variables diff --git a/ct/motioneye.sh b/ct/motioneye.sh index 81dae200a..b4e06948a 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -21,17 +21,17 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/systemd/system/motioneye.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD pip install motioneye --upgrade - msg_ok "Updated successfully!" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/systemd/system/motioneye.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP} LXC" + $STD pip install motioneye --upgrade + msg_ok "Updated successfully!" + exit } start diff --git a/ct/photoprism.sh b/ct/photoprism.sh index daa8daca4..59b515336 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -13,6 +13,7 @@ var_disk="${var_disk:-8}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" +var_gpu="${var_gpu:-yes}" header_info "$APP" variables diff --git a/install/comfyui-install.sh b/install/comfyui-install.sh index 77bbeb086..b764728c7 100644 --- a/install/comfyui-install.sh +++ b/install/comfyui-install.sh @@ -12,6 +12,7 @@ catch_errors setting_up_container network_check update_os +setup_hwaccel echo echo "${TAB3}Choose the GPU type for ComfyUI:" diff --git a/install/libretranslate-install.sh b/install/libretranslate-install.sh index d511c033c..2cae99e5c 100644 --- a/install/libretranslate-install.sh +++ b/install/libretranslate-install.sh @@ -12,6 +12,7 @@ catch_errors setting_up_container network_check update_os +setup_hwaccel msg_info "Installing dependencies" $STD apt install -y \ diff --git a/install/photoprism-install.sh b/install/photoprism-install.sh index 06f0d06fe..84ffd05d0 100644 --- a/install/photoprism-install.sh +++ b/install/photoprism-install.sh @@ -12,6 +12,7 @@ catch_errors setting_up_container network_check update_os +setup_hwaccel msg_info "Installing Dependencies (Patience)" $STD apt install -y \