xbps-src: don't remove bootstrap pkgs in autoremove case.
This commit is contained in:
@@ -85,6 +85,7 @@ autoremove_pkg_dependencies()
|
|||||||
# ignore subpkgs.
|
# ignore subpkgs.
|
||||||
setup_subpkg_tmpl $curpkgname
|
setup_subpkg_tmpl $curpkgname
|
||||||
[ -n "$SUBPKG" ] && continue
|
[ -n "$SUBPKG" ] && continue
|
||||||
|
[ -n "$bootstrap" ] && continue
|
||||||
# remove pkg.
|
# remove pkg.
|
||||||
msg_warn "removing package $curpkgname installed from source...\n"
|
msg_warn "removing package $curpkgname installed from source...\n"
|
||||||
remove_pkg
|
remove_pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user