xbps-src: remove pre/post and install status file when removing a pkg.

This commit is contained in:
Juan RP 2011-04-12 10:03:24 +02:00
parent 9171a0fef0
commit 15bc8e1eee

View file

@ -208,6 +208,10 @@ remove_pkg()
if [ -d "$XBPS_DESTDIR/${pkgname}-${ver%_*}" ]; then
rm -rf "$XBPS_DESTDIR/${pkgname}-${ver%_*}"
fi
rm -f $XBPS_PRE_INSTALL_DONE
rm -f $XBPS_POST_INSTALL_DONE
rm -f $XBPS_INSTALL_DONE
return $?
}