xbps-src: also autoremove deps with -D on success.
This commit is contained in:
parent
86d0b0adcf
commit
2f6a8e9617
|
@ -122,6 +122,7 @@ install_pkg()
|
||||||
if [ -d "$wrksrc" -a -z "$KEEP_WRKSRC" ]; then
|
if [ -d "$wrksrc" -a -z "$KEEP_WRKSRC" ]; then
|
||||||
remove_tmpl_wrksrc $wrksrc
|
remove_tmpl_wrksrc $wrksrc
|
||||||
fi
|
fi
|
||||||
|
autoremove_pkg_dependencies $KEEP_AUTODEPS
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue