index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | scripts/libmakepkg/lint_package.sh.in | 11 |
diff --git a/scripts/libmakepkg/lint_package.sh.in b/scripts/libmakepkg/lint_package.sh.in index c2d3e322..e5e23bbd 100644 --- a/scripts/libmakepkg/lint_package.sh.in +++ b/scripts/libmakepkg/lint_package.sh.in @@ -25,14 +25,21 @@ LIBRARY=${LIBRARY:-'@libmakepkgdir@'} source "$LIBRARY/util/message.sh" + +declare -a lint_package_functions + for lib in "$LIBRARY/lint_package/"*.sh; do source "$lib" done +readonly -a lint_package_functions + + lint_package() { cd_safe "$pkgdir" msg "$(gettext "Checking for packaging issue...")" - warn_missing_backup - warn_build_references + for func in ${lint_package_functions[@]}; do + $func + done } |