xbps-src: also autoremove deps with -D on success.

This commit is contained in:
Juan RP 2011-07-06 10:46:36 +02:00
parent 86d0b0adcf
commit 2f6a8e9617

View file

@ -122,6 +122,7 @@ install_pkg()
if [ -d "$wrksrc" -a -z "$KEEP_WRKSRC" ]; then
remove_tmpl_wrksrc $wrksrc
fi
autoremove_pkg_dependencies $KEEP_AUTODEPS
return 0
fi