diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-28 10:45:46 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-30 17:55:58 +0200 |
commit | 73139ccb3c47ed1ebb1a62a27deb080b66d92bf4 (patch) | |
tree | 20235847d37c48258bc5b192615db5991ba71cb0 /scripts | |
parent | 6bb594802588240405efee0813f7aa1daa9648b3 (diff) | |
download | pacman-73139ccb.tar.gz pacman-73139ccb.tar.xz |
Refactor _alpm_runscriptlet()
Add an is_archive parameter to reduce the amount of black magic going
on. Rework to use fewer PATH_MAX sized local variables, and simplify
some of the logic where appropriate in both this function and in the
callers where duplicate calls can be replaced by some conditional
parameter code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions