makepkg: run tidy_install with no package() function

After the splitpkg implementation, the tidy_install function
was not being called in PKGBUILDs with only the build() function.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2009-03-30 17:41:34 +10:00
parent deff57ce8b
commit 442b91a5dd
1 changed files with 1 additions and 0 deletions

View File

@ -1635,6 +1635,7 @@ if [ "$INFAKEROOT" -eq 1 ]; then
if [ "$PKGFUNC" -eq 0 ]; then
if [ "$REPKG" -eq 0 ]; then
run_build
tidy_install
fi
else
run_package