Фикс команд iptv, связанных с контейнерами

This commit is contained in:
2025-06-05 00:04:54 +08:00
parent f1bd94b35b
commit 2f3bea76f4

7
iptv
View File

@@ -416,8 +416,8 @@ find_service_compose() {
for known in $(docker.compose config --services); do
if [ "$known" = "$svc" ]; then
debug "Сервис '$svc' найден в композе"
echo "iptv-$known"
debug "Сервис '$known' найден в композе"
echo "$known"
exit
fi
done
@@ -432,9 +432,8 @@ find_services_compose() {
[ "$*" ] && for svc in "$@"; do
grep_match "$svc" "^--?.*" && continue
var_dump svc
svc="$(find_service_compose "$svc")"
services="$services iptv-$svc"
services="$services $svc"
done
trim "$services"