pacman/scripts
Ivan Kanakarakis 908e9f41ed pacman-key: improved reading of the configuration file
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>
2011-04-21 12:10:31 -05:00
..
.gitignore pacman-key: keyring management tool 2011-03-23 01:59:42 -05:00
Makefile.am pacman-key: keyring management tool 2011-03-23 01:59:42 -05:00
makepkg.sh.in makepkg, pacman-key: unify help message with other scripts 2011-04-21 12:09:18 -05:00
pacman-db-upgrade.sh.in Clarify error message in pacman-db-upgrade 2011-03-27 20:03:08 -05:00
pacman-key.sh.in pacman-key: improved reading of the configuration file 2011-04-21 12:10:31 -05:00
pacman-optimize.sh.in Update copyright years for 2011 2011-01-07 18:47:37 -06:00
pkgdelta.sh.in Fix some easy to find double translations 2011-02-28 17:50:23 -06:00
rankmirrors.sh.in Fix bash shell location check 2010-10-13 17:50:54 -05:00
repo-add.sh.in Clean up repo-add usage message 2011-03-27 21:13:52 -05:00