aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 17:22:57 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 17:22:57 +0000
commit719054120d98402b70e694c464e9230890ebb527 (patch)
treeb33ba0f6c4bc403aa13937f9191234c293c89efc
parenta1ffb1a17c9cb1c32c4ba6d15d5ea07813763fce (diff)
downloadcpt-719054120d98402b70e694c464e9230890ebb527.tar.gz
kiss: show progress bar on install
FossilOrigin-Name: d55e9ef022469ecd357ebaafb272f3aa001d07b0b849b61215d743389725885b
-rwxr-xr-xkiss6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiss b/kiss
index 1527da5..0aead15 100755
--- a/kiss
+++ b/kiss
@@ -662,7 +662,7 @@ pkg_install() {
[ "$install_dep" ] && die "[$1] Package requires ${install_dep%, }"
- log "[$pkg_name] Installing package"
+ log "[$pkg_name] Installing package incrementally"
# Block being able to abort the script with Ctrl+C during installation.
# Removes all risk of the user aborting a package installation leaving
@@ -679,13 +679,13 @@ pkg_install() {
# This is repeated multiple times. Better to make it a function.
pkg_rsync() {
- rsync --chown=root:root -WhHKa "$1" --no-compress --exclude etc -- \
+ rsync --chown=root:root -WhHKa --no-compress "$1" --exclude etc -- \
"$tar_dir/$pkg_name/" "$KISS_ROOT/"
}
# Install the package by using 'rsync' and overwrite any existing files
# (excluding '/etc/').
- pkg_rsync -v
+ pkg_rsync --info=progress2
# If '/etc/' exists in the package, install it but don't overwrite.
[ -d "$tar_dir/$pkg_name/etc" ] &&