Skip to content

Writing pacman-mirrors.conf

Philip Müller requested to merge fhdk:master into master

Created by: fhdk

@guinux I have spotted some minor inconsistensies in writing pacman-mirrors.conf The previous standard was to insert spaces around x = y. Not having those affects pacman-mirrors in certain functions the app is checking the config file if a change should be written to a specific line. It has caused the change to be written to the end of the file.

if "OnlyCountry = " in line then:

or

if "Method = " in line then:

fails if it has been written as

Method=

or

OnlyCountry=

Merge request reports