mirror of
https://github.com/AdrienPoupa/docker-compose-nas.git
synced 2025-05-19 05:33:21 +02:00
chore: fix typo
This commit is contained in:
parent
196b56ad42
commit
896636fe80
@ -3,7 +3,7 @@
|
|||||||
# See https://stackoverflow.com/a/44864004 for the sed GNU/BSD compatible hack
|
# See https://stackoverflow.com/a/44864004 for the sed GNU/BSD compatible hack
|
||||||
|
|
||||||
function update_config {
|
function update_config {
|
||||||
echo "Upadting ${1^} configuration..."
|
echo "Updating ${1^} configuration..."
|
||||||
until [ -f ./$1/config.xml ]
|
until [ -f ./$1/config.xml ]
|
||||||
do
|
do
|
||||||
sleep 5
|
sleep 5
|
||||||
@ -19,7 +19,7 @@ for container in $(docker ps --format '{{.Names}}'); do
|
|||||||
if [[ $container =~ ^(radarr|sonarr|lidarr|prowlarr)$ ]]; then
|
if [[ $container =~ ^(radarr|sonarr|lidarr|prowlarr)$ ]]; then
|
||||||
update_config $container
|
update_config $container
|
||||||
elif [[ $container =~ ^(jellyfin)$ ]]; then
|
elif [[ $container =~ ^(jellyfin)$ ]]; then
|
||||||
echo "Upadting ${container^} configuration..."
|
echo "Updating ${container^} configuration..."
|
||||||
until [ -f ./$container/network.xml ]; do
|
until [ -f ./$container/network.xml ]; do
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user