mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: fix prompt issue. better repo orphan output
This commit is contained in:
parent
e3941e6218
commit
d2fc69655e
8
kiss
8
kiss
@ -1630,7 +1630,8 @@ pkg_update() {
|
||||
# Detect repository orphans (installed packages with no
|
||||
# associated repository).
|
||||
case $repo_dir in */var/db/kiss/installed/*)
|
||||
_repo_orp="$_repo_orp ${pkg##*/}"
|
||||
_repo_orp="$_repo_orp
|
||||
${pkg##*/}"
|
||||
esac
|
||||
|
||||
# Compare installed packages to repository packages.
|
||||
@ -1642,7 +1643,7 @@ pkg_update() {
|
||||
|
||||
log "Checking for orphaned repository packages"
|
||||
case $_repo_orp in *?*)
|
||||
war "Packages without repository:$_repo_orp"
|
||||
war "Packages without repository$_repo_orp"
|
||||
esac
|
||||
|
||||
set -f
|
||||
@ -1652,9 +1653,7 @@ pkg_update() {
|
||||
*" kiss "*)
|
||||
log "Detected package manager update"
|
||||
log "The package manager will be updated first"
|
||||
|
||||
prompt
|
||||
|
||||
pkg_build_all kiss
|
||||
|
||||
log "Updated the package manager"
|
||||
@ -1667,6 +1666,7 @@ pkg_update() {
|
||||
|
||||
*)
|
||||
log "Packages to update: $*"
|
||||
prompt
|
||||
pkg_order "$@"
|
||||
|
||||
# Intentional, globbing disabled.
|
||||
|
Loading…
Reference in New Issue
Block a user