cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit a09788b7c84d9b18db2793036a682a180e6282f8
parent a441aed47e4eacfb105fc4b49226df7d70a11276
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  1 Sep 2020 00:55:03 +0300

docs: update

Diffstat:
Msrc/cpt-lib | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/cpt-lib b/src/cpt-lib @@ -1582,6 +1582,10 @@ pkg_fetch() { fi } elif [ -f .rsync ]; then + # If an .rsync_root file exists, we check that the repository root + # exists. If it does, we change to that directory to do the fetch. + # This way, we allow for partial repositories while making sure that + # we can fetch the repository in a single operation. [ -f .rsync_root ] && { read -r rsync_root < .rsync_root [ -f "$rsync_root/.rsync" ] && cd "$rsync_root"