mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
908e9f41ed
This commit replaces the find_config() function with the get_from() function. get_from expects two arguments, the first is the file to read and the second is the key to look for in the given file. get_from returns the first matching value for the given key. The file is expected to be in the format: key = value Each of 'key' 'equal sign' 'value' can be surrounded be random whitespace. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
makepkg.sh.in | ||
pacman-db-upgrade.sh.in | ||
pacman-key.sh.in | ||
pacman-optimize.sh.in | ||
pkgdelta.sh.in | ||
rankmirrors.sh.in | ||
repo-add.sh.in |