Фикс команд iptv, связанных с контейнерами
This commit is contained in:
7
iptv
7
iptv
@@ -416,8 +416,8 @@ find_service_compose() {
|
|||||||
|
|
||||||
for known in $(docker.compose config --services); do
|
for known in $(docker.compose config --services); do
|
||||||
if [ "$known" = "$svc" ]; then
|
if [ "$known" = "$svc" ]; then
|
||||||
debug "Сервис '$svc' найден в композе"
|
debug "Сервис '$known' найден в композе"
|
||||||
echo "iptv-$known"
|
echo "$known"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@@ -432,9 +432,8 @@ find_services_compose() {
|
|||||||
|
|
||||||
[ "$*" ] && for svc in "$@"; do
|
[ "$*" ] && for svc in "$@"; do
|
||||||
grep_match "$svc" "^--?.*" && continue
|
grep_match "$svc" "^--?.*" && continue
|
||||||
var_dump svc
|
|
||||||
svc="$(find_service_compose "$svc")"
|
svc="$(find_service_compose "$svc")"
|
||||||
services="$services iptv-$svc"
|
services="$services $svc"
|
||||||
done
|
done
|
||||||
|
|
||||||
trim "$services"
|
trim "$services"
|
||||||
|
|||||||
Reference in New Issue
Block a user