summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 3751ddd..ce8f3d7 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -658,8 +658,9 @@ function pkg_status {
function pkg_refresh {
check_installed $1
cd $PDIR/$1
+ global_hook $1 pre-update
if [[ -r Makefile ]] {
- wrap_info
+ wrap_info $1
info "Cleaning build diroctery\n"
make clean
}