---
 pm/pm-functions.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index 8c080f6..a45967a 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -146,7 +146,8 @@ run_hooks() {
                do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq) ;
        do
                # Skip any hooks we did not run when running going forward. 
-               [ "$3" -a "$LAST_HOOK" -a "$base" > "$LAST_HOOK" ] && continue
+               [ "$3" -a "$LAST_HOOK" -a "$base" > "$LAST_HOOK" ] && {
+                       log "Skipping hook "$base"; continue; }
                if [ -f "$syshooks/$base" ]; then
                        hook="$syshooks/$base"
                elif [ -f "$phooks/$base" ]; then
-- 
1.5.4.3

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to