forked from mirrored-repos/manjaro-tools
[util-yaml] update geoip
This commit is contained in:
parent
8e37a24ac8
commit
f0494d3965
1 changed files with 6 additions and 6 deletions
|
@ -189,9 +189,9 @@ write_welcome_conf(){
|
|||
fi
|
||||
if ${geoip}; then
|
||||
echo 'geoip:' >> "$conf"
|
||||
echo ' style: "json"' >> "$conf"
|
||||
echo ' url: "https://geoip.kde.org/v1/calamares"' >> "$conf"
|
||||
echo ' selector: "time_zone"' >> "$conf"
|
||||
echo ' style: "xml"' >> "$conf"
|
||||
echo ' url: "https://geoip.kde.org/v1/ubiquity"' >> "$conf"
|
||||
echo ' selector: "CountryCode"' >> "$conf"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -264,9 +264,9 @@ write_locale_conf(){
|
|||
echo "localeGenPath: /etc/locale.gen" >> "$conf"
|
||||
if ${geoip}; then
|
||||
echo 'geoip:' >> "$conf"
|
||||
echo ' style: "json"' >> "$conf"
|
||||
echo ' url: "https://geoip.kde.org/v1/calamares"' >> "$conf"
|
||||
echo ' selector: ""' >> "$conf"
|
||||
echo ' style: "xml"' >> "$conf"
|
||||
echo ' url: "https://geoip.kde.org/v1/ubiquity"' >> "$conf"
|
||||
echo ' selector: "TimeZone"' >> "$conf"
|
||||
else
|
||||
echo "region: America" >> "$conf"
|
||||
echo "zone: New_York" >> "$conf"
|
||||
|
|
Loading…
Reference in a new issue