mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30: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
|
# Detect repository orphans (installed packages with no
|
||||||
# associated repository).
|
# associated repository).
|
||||||
case $repo_dir in */var/db/kiss/installed/*)
|
case $repo_dir in */var/db/kiss/installed/*)
|
||||||
_repo_orp="$_repo_orp ${pkg##*/}"
|
_repo_orp="$_repo_orp
|
||||||
|
${pkg##*/}"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Compare installed packages to repository packages.
|
# Compare installed packages to repository packages.
|
||||||
@ -1642,7 +1643,7 @@ pkg_update() {
|
|||||||
|
|
||||||
log "Checking for orphaned repository packages"
|
log "Checking for orphaned repository packages"
|
||||||
case $_repo_orp in *?*)
|
case $_repo_orp in *?*)
|
||||||
war "Packages without repository:$_repo_orp"
|
war "Packages without repository$_repo_orp"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
set -f
|
set -f
|
||||||
@ -1652,9 +1653,7 @@ pkg_update() {
|
|||||||
*" kiss "*)
|
*" kiss "*)
|
||||||
log "Detected package manager update"
|
log "Detected package manager update"
|
||||||
log "The package manager will be updated first"
|
log "The package manager will be updated first"
|
||||||
|
|
||||||
prompt
|
prompt
|
||||||
|
|
||||||
pkg_build_all kiss
|
pkg_build_all kiss
|
||||||
|
|
||||||
log "Updated the package manager"
|
log "Updated the package manager"
|
||||||
@ -1667,6 +1666,7 @@ pkg_update() {
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
log "Packages to update: $*"
|
log "Packages to update: $*"
|
||||||
|
prompt
|
||||||
pkg_order "$@"
|
pkg_order "$@"
|
||||||
|
|
||||||
# Intentional, globbing disabled.
|
# Intentional, globbing disabled.
|
||||||
|
Loading…
Reference in New Issue
Block a user