cpt

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

commit 4ced0c5c26e247d6f148021d8fc046b7ecf29dae
parent 148232f2d00ef3011cb42c4e6c490c23f08a7331
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Mar 2020 20:04:07 +0200

contrib: Remove unneeded checks

Diffstat:
Mcontrib/kiss-depends-finder | 2+-
Mcontrib/kiss-export | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/kiss-depends-finder b/contrib/kiss-depends-finder @@ -9,7 +9,7 @@ grep=$(command -v ggrep) || grep='grep' printf '=> Detected dependencies:\n' -while read -r file || [ "$file" ]; do +while read -r file; do [ -d "$KISS_ROOT/$file" ] && continue ldd "$KISS_ROOT/$file" 2>/dev/null | while read -r dep; do diff --git a/contrib/kiss-export b/contrib/kiss-export @@ -13,7 +13,7 @@ pkg=$1 set -- # Construct the argument list using each file. -while read -r file || [ "$file" ]; do +while read -r file; do [ -d "$KISS_ROOT/$file" ] || set -- "$@" ".$file" done < "$KISS_ROOT/var/db/kiss/installed/$pkg/manifest"