summaryrefslogtreecommitdiff
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-06-19 22:33:56 +0200
committerAllan McRae <allan@archlinux.org>2018-08-10 12:37:20 +1000
commit4e83abaae51c82ce6571450fb3ed9e2e71175b68 (patch)
treebc3df61153508b4cbf90b1d00a0a00dcfd2ee110 /scripts/repo-add.sh.in
parent92bc0a474081c56d71605787d57ea2f6715a639c (diff)
downloadpacman-4e83abaae51c82ce6571450fb3ed9e2e71175b68.tar.xz
libmakepkg/util/option: Refactor checking to reduce code duplication
Pull out the expected=y/n check into a separate function and make use of the fact we can just prepend the fallback arrays to get the same result. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
0 files changed, 0 insertions, 0 deletions