[util-yaml] update geoip

This commit is contained in:
Philip Müller 2019-09-02 14:52:43 -04:00
parent 8e37a24ac8
commit f0494d3965

View file

@ -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"