cpt

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

commit ee1d56c795ff28ed49943b3f429b74c90b593789
parent 847caa8709d13a2bc3fc9a786a2b62324db2cd40
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Sep 2019 20:04:16 +0300

kiss: speed up rsync commands

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

diff --git a/kiss b/kiss @@ -679,17 +679,17 @@ pkg_install() { # This is repeated multiple times. Better to make it a function. pkg_rsync() { - rsync --chown=root:root -HKav --exclude etc -- \ + rsync --chown=root:root -WhHKa "$1" --no-compress --exclude etc -- \ "$tar_dir/$pkg_name/" "$KISS_ROOT/" } # Install the package by using 'rsync' and overwrite any existing files # (excluding '/etc/'). - pkg_rsync + pkg_rsync -v # If '/etc/' exists in the package, install it but don't overwrite. [ -d "$tar_dir/$pkg_name/etc" ] && - rsync --chown=root:root -HKav --ignore-existing \ + rsync --chown=root:root -WhHKa --no-compress --ignore-existing \ "$tar_dir/$pkg_name/etc" "$KISS_ROOT/" # Remove any leftover files if this is an upgrade.