From 6a88b3dfb7ea2cf71d73a0ce8ecdf95a93277d61 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Dec 2008 21:22:03 +0100 Subject: bin/pkg: pkg_refresh: Use global hooks --- bin/pkg | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/pkg b/bin/pkg index 5670717..860be01 100755 --- a/bin/pkg +++ b/bin/pkg @@ -645,15 +645,10 @@ function pkg_refresh { cd $PDIR/$1 if [[ -r Makefile ]] { clear_line - info "$1: re-building with make\n" + info "Cleaning build diroctery\n" make clean - make } - populate_collected $1 - checklinks $CL_OPTIONS - check_prereqs $1 - triggers+=$1 - fix_origin $1 + global_hook $1 post-update } function pkg_update { -- cgit v1.2.3