forked from kiss-community/kiss
contrib: Remove unneeded checks
This commit is contained in:
parent
148232f2d0
commit
4ced0c5c26
@ -9,7 +9,7 @@ grep=$(command -v ggrep) || grep='grep'
|
|||||||
|
|
||||||
printf '=> Detected dependencies:\n'
|
printf '=> Detected dependencies:\n'
|
||||||
|
|
||||||
while read -r file || [ "$file" ]; do
|
while read -r file; do
|
||||||
[ -d "$KISS_ROOT/$file" ] && continue
|
[ -d "$KISS_ROOT/$file" ] && continue
|
||||||
|
|
||||||
ldd "$KISS_ROOT/$file" 2>/dev/null | while read -r dep; do
|
ldd "$KISS_ROOT/$file" 2>/dev/null | while read -r dep; do
|
||||||
|
@ -13,7 +13,7 @@ pkg=$1
|
|||||||
set --
|
set --
|
||||||
|
|
||||||
# Construct the argument list using each file.
|
# Construct the argument list using each file.
|
||||||
while read -r file || [ "$file" ]; do
|
while read -r file; do
|
||||||
[ -d "$KISS_ROOT/$file" ] || set -- "$@" ".$file"
|
[ -d "$KISS_ROOT/$file" ] || set -- "$@" ".$file"
|
||||||
done < "$KISS_ROOT/var/db/kiss/installed/$pkg/manifest"
|
done < "$KISS_ROOT/var/db/kiss/installed/$pkg/manifest"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user