mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
kiss: only show diffs if file has contents
This commit is contained in:
parent
77b90da4e2
commit
83f91fee62
3
kiss
3
kiss
@ -1147,7 +1147,8 @@ pkg_updates() {
|
|||||||
|
|
||||||
# Show a diff of each new change to the repositories.
|
# Show a diff of each new change to the repositories.
|
||||||
# This spawns the user's set PAGER with a fallback to less.
|
# This spawns the user's set PAGER with a fallback to less.
|
||||||
[ "$KISS_AUDIT" ] && "${PAGER:-less}" "$mak_dir/log"
|
[ -s "$mak_dir/log" ] && [ "$KISS_AUDIT" = 1 ] &&
|
||||||
|
"${PAGER:-less}" "$mak_dir/log"
|
||||||
|
|
||||||
# Tell 'pkg_build' to always prompt before build.
|
# Tell 'pkg_build' to always prompt before build.
|
||||||
pkg_update=1
|
pkg_update=1
|
||||||
|
Loading…
Reference in New Issue
Block a user