xbps-src: clean up masterdir in bootstrap-update too.

This commit is contained in:
Juan RP 2015-04-09 19:52:21 +02:00
parent e2e7b10b0d
commit 559dc396a9
1 changed files with 3 additions and 0 deletions

View File

@ -298,6 +298,9 @@ bootstrap_update() {
return
fi
remove_pkg_autodeps
msg_normal "xbps-src: cleaning up masterdir...\n"
rm -rf $XBPS_MASTERDIR/builddir $XBPS_MASTERDIR/destdir
msg_normal "xbps-src: updating $XBPS_MASTERDIR ...\n"
${XBPS_INSTALL_CMD} -yu
return $?
}