cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 13883157dda6ad24e5f24662fee6e4fec5a94aef
parent ee1d56c795ff28ed49943b3f429b74c90b593789
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Sep 2019 20:22:58 +0300

kiss: show progress bar on install

Diffstat:
Mkiss | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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" ] &&