# HG changeset patch # User Pascal Bellard # Date 1203330864 -3600 # Node ID 3071a3b8b0897ec5746c6a97b0c7a0d43099ec26 # Parent db2062822aa3e0db6b60fcc5660392d7443c93c0 add post_remove diff -r db2062822aa3 -r 3071a3b8b089 tazpkg --- a/tazpkg Fri Feb 15 15:32:47 2008 +0100 +++ b/tazpkg Mon Feb 18 11:34:24 2008 +0100 @@ -791,6 +791,9 @@ echo -n "Removing package receipt..." rm -rf $INSTALLED/$PACKAGE status + if grep -q ^post_remove $INSTALLED/$PACKAGE/receipt; then + post_remove + fi if [ -n "$ALTERED" ]; then echo -n "Remove packages depending on $PACKAGE" echo -n " (y/N) ? "; read anser