mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-30 15:34:49 +01:00
Update script updated.
This commit is contained in:
parent
936086392b
commit
b8a09f6d6d
@ -385,7 +385,7 @@ function get_team_defs()
|
|||||||
uri) uri=$value ;;
|
uri) uri=$value ;;
|
||||||
team_name1) team_name1="$value" ;;
|
team_name1) team_name1="$value" ;;
|
||||||
team_name2) team_name2="$value" ;;
|
team_name2) team_name2="$value" ;;
|
||||||
country) country=$value ;;
|
country) country=$(find .. -type d -name $value | tail -n 1);;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -409,7 +409,7 @@ function get_country_files()
|
|||||||
while read -d : oldname && read newname
|
while read -d : oldname && read newname
|
||||||
do
|
do
|
||||||
if [ "$oldname" = "League" ]; then
|
if [ "$oldname" = "League" ]; then
|
||||||
DIRNAME=$(find . -type d -name $newname)
|
DIRNAME=$(find . -type d -name $newname | tail -n 1)
|
||||||
if [ ! $DIRNAME = "" ]; then
|
if [ ! $DIRNAME = "" ]; then
|
||||||
my_echo " + Adding official names to $DIRNAME..."
|
my_echo " + Adding official names to $DIRNAME..."
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user